The DataObject.Registry in LoadersAPI gives you a set of modified DataObjects. You can also add a listener and be notified when the set of modified objects changes.

As this operates on DataObjects you will first need to get a DataObect for your FileObject using DataObject.find(). Or you can take the modified DataObjects and do dataObject.getPrimaryFile().

Source: NetBeans FAQ