code: def save_to_file(self, filename: str) -> ConfigFile:
          
          newclass = ConfigFile(fd=filename, load_hook=self.normal_class_hook[0],
                                dump_hook=self.normal_class_hook[1], safe_load=self.safe_load)
          return newclass
docs: This converts the NetworkedConfigFile into a normal ConfigFile object.
  
          This requires the normal class hooks to be provided.