<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def htmlSaveFile(self, filename):
 """Dump an HTML document to a file. If @filename is "-" the stdout file is used. """

        ret = libxml2mod.htmlSaveFile(filename, self._o)
        return ret