Refactor of GenericFile to NuCoreFile