<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 state of config dictionary. """

        with open(self.config_file, "w") as f:
            f.write(dump(self.config, default_flow_style=False))