modify load_file slot