code: def tarball_files(work_dir, tar_name, uuid=None, files=None):
      
      with tarfile.open(os.path.join(work_dir, tar_name), 'w:gz') as f_out:
          for fname in files:
              if uuid:
                  f_out.add(os.path.join(work_dir, fname), arcname=uuid + '.' + fname)
              else:
                  f_out.add(os.path.join(work_dir, fname), arcname=fname)
docs: Tars a group of files together into a tarball
  
      work_dir: str       Current Working Directory
      tar_name: str       Name of tarball
      uuid: str           UUID to stamp files with
      files: str(s)       List of filenames to place in the tarball from working directory