fix Loader with File inheritance