Going back to the old loadFile method