fclose(file) in load command