Remove indirection of loadFile function.