Debugging the load file method.
Debugged the load files method.
Still need to test the whole thing with single mode.