def load_file(filename):
mod_name = '<STR_LIT:.>'.join(os.path.basename(filename).split('<STR_LIT:.>')[:-<NUM_LIT:1>])<EOL>mod_path = os.path.dirname(filename)<EOL>if mod_name in sys.modules:<EOL><INDENT>del sys.modules[mod_name]<EOL><DEDENT>if mod_path not in set(sys.modules.keys()):<EOL><INDENT>sys.path.insert(<NUM_LIT:0>, mod_path)<EOL><DEDENT>return ScentModule(__import__(mod_name, g, g), filename)<EOL>
Runs the given scent.py file.