<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _save_file(self, filename, contents):
 """write the html file contents to disk"""

        with open(filename, 'w') as f:
            f.write(contents)