<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(self, filename):
 """ Save the current buffer to `filename` Exisiting files with the same name will be overwritten. :param str filename: the name of the file to save to """

        with open(filename, "wb") as fd:
            fd.write(self.__buff)