Fix FileLoader for published, environment-specific package configurations.
Cleaning up a little code.