loadFile() now throws Exceptions