code: def dump_config(self, file_path):
          
          if os.path.isfile(file_path):
              logger.debug('File {} alreay exist. Overwrite? [y/N]'.format(file_path))
              choice = input('File {} alreay exist. Overwrite? [y/N]'.format(file_path)).lower()
              if len(choice) == 0 or choice[0] != 'y':
                  logger.info('File not overwritten.')
                  return
  
          conf = self.config.dump_conf()
          for r in routines.__all__:
              conf = self.__dict__[r.lower()].config.dump_conf(conf)
  
          with open(file_path, 'w') as f:
              conf.write(f)
  
          logger.info('Config written to {}'.format(file_path))
docs: Dump system and routine configurations to an rc-formatted file.
  
          Parameters
          ----------
          file_path : str
              path to the configuration file. The user will be prompted if the
              file already exists.
  
          Returns
          -------
          None