code: def save_any_file(data, filename):
      
      saver = saver_for_file(filename)
      if saver is None:
          return False
      else:
          saver.save_file(data, filename)
          return True
docs: Determines a Saver based on the the file extension. Returns whether successfully saved.
  
      :param filename: the name of the file to save
      :type filename: str
      :param data: the data to save
      :type data: Instances
      :return: whether successfully saved
      :rtype: bool