def ManifestFromXMLFile(filename_or_file):
 manifest = Manifest()
 manifest.parse(filename_or_file)
 return manifest

def ManifestFromXMLFile ( filename_or_file ) : manifest = Manifest ( ) manifest . parse ( filename_or_file ) return manifest
create and return manifest instance from file .