Fixed backwards compatibility bug. Added test for backwards compatible loading of files