Refactoring FileEntryEjb