code: def readerForFile(filename, encoding, options):
      
      ret = libxml2mod.xmlReaderForFile(filename, encoding, options)
      if ret is None:raise treeError('xmlReaderForFile() failed')
      return xmlTextReader(_obj=ret)
docs: parse an XML file from the filesystem or the network. The
        parsing flags @options are a combination of xmlParserOption.