Added loadFile()