code: def _get_and_write_archive(self, hunt, output_file_path):
      
      hunt_archive = hunt.GetFilesArchive()
      hunt_archive.WriteToFile(output_file_path)
docs: Gets and writes a hunt archive.
  
      Function is necessary for the _check_approval_wrapper to work.
  
      Args:
        hunt: The GRR hunt object.
        output_file_path: The output path where to write the Hunt Archive.