def CloseCHM(self):
if self.filename is not None:<EOL><INDENT>chmlib.chm_close(self.file)<EOL>self.file = None<EOL>self.filename = '<STR_LIT>'<EOL>self.title = "<STR_LIT>"<EOL>self.home = "<STR_LIT:/>"<EOL>self.index = None<EOL>self.topics = None<EOL>self.encoding = None<EOL><DEDENT>
Closes the CHM archive.
        This function will close the CHM file, if it is open. All variables
        are also reset.