code: def file_modify(filename, settings):
          
          for k, v in settings.items():
              if k == "mode":
                  os.chmod(filename,v)
              if k == "owners":
                  os.chown(filename,v)
docs: Modifies file access
  
          Args:
              filename (str): Filename.
              settings (dict): Can be "mode" or "owners"