def _expand_filename(self, line):
<EOL>newline = line<EOL>path = os.getcwd()<EOL>if newline.startswith("<STR_LIT:.>"):<EOL><INDENT>newline = newline.replace("<STR_LIT:.>", path, <NUM_LIT:1>)<EOL><DEDENT>newline = os.path.expanduser(newline)<EOL>return newline<EOL>
expands the filename if there is a . as leading path