code: def dump(obj, file_path, prettify=False):
      
      with open(file_path, 'w') as fp:
          fp.write(dumps(obj))
docs: Dumps a data structure to the filesystem as TOML.
  
      The given value must be either a dict of dict values, a dict, or a TOML file constructed by this module.