Modified the load_file function to ignore empty lines when loading a .lst file.