def exec_file(self, path):
filename = os.path.basename(path)<EOL>log.info('<STR_LIT>', filename)<EOL>content = from_file(path).replace('<STR_LIT:\r>', '<STR_LIT>').split('<STR_LIT:\n>')<EOL>res = '<STR_LIT>'<EOL>for line in content:<EOL><INDENT>line = line.rstrip('<STR_LIT:\n>')<EOL>retlines = (res + self.__exchange(line)).splitlines()<EOL>res = retlines.pop()<EOL>for lin in retlines:<EOL><INDENT>log.info(lin)<EOL><DEDENT><DEDENT>log.info(res)<EOL>
execute the lines in the local file 'path