Moved load file specification to the top of the script.