code: def parse_file(self, filename, encoding=None, debug=False):
          
          stream = codecs.open(filename, "r", encoding)
          try:
              return self.parse_stream(stream, debug)
          finally:
              stream.close()
docs: Parse a file and return the syntax tree.