def load_mirteFile(path, m, logger=None):
l = logging.getLogger('<STR_LIT>') if logger is None else logger<EOL>had = set()<EOL>for name, path, d in walk_mirteFiles(path, logger):<EOL><INDENT>if os.path.realpath(path) in m.loaded_mirteFiles:<EOL><INDENT>continue<EOL><DEDENT>identifier = name<EOL>if name in had:<EOL><INDENT>identifier = path<EOL><DEDENT>else:<EOL><INDENT>had.add(name)<EOL><DEDENT>l.info('<STR_LIT>' % identifier)<EOL>m.loaded_mirteFiles.add(os.path.realpath(path))<EOL>_load_mirteFile(d, m)<EOL><DEDENT>
Loads the mirte-file at <path> into the manager <m>.