code: def create_tarfile(files: List[str], tar_path: str) -> None:
      
      with tarfile.open(tar_path, "w:gz") as tar:
          for f in files:
              tar.add(f)
docs: Create a tar file based on the list of files passed