trying to see if it is an error with loadFile function