reverted loadFile to previous state