<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):
 """ save current config to the file """

        with open(self._filename, "w") as f:
            self.config.write(f)