Added if statement to fileLoad