code: def recoverFile(filename):
      
      ret = libxml2mod.xmlRecoverFile(filename)
      if ret is None:raise treeError('xmlRecoverFile() failed')
      return xmlDoc(_obj=ret)
docs: parse an XML file and build a tree. Automatic support for
        ZLIB/Compress compressed document is provided by default if
        found at compile-time. In the case the document is not Well
         Formed, it attempts to build a tree anyway