#NEWLINE# @ classmethod #NEWLINE# def open( cls , pkg_file ) : #NEWLINE# #INDENT# '\n        Return an |OpcPackage| instance loaded with the contents of\n        *pkg_file*.\n        ' #NEWLINE# pkg_reader = PackageReader . from_file ( pkg_file ) #NEWLINE# package = cls ( ) #NEWLINE# Unmarshaller . unmarshal ( pkg_file , package , PartFactory ) #NEWLINE# return package