The project models no longer store FileObject instances but plain File instances. This is necessary because a FileObject might become irreversibly invalid and this could cause various errors (only way to recover is to reload the project). An example of such an error: If a project is deleted from NetBeans, then restored: NetBeans could not display some file nodes.