code: def create_archive(tmpdir):
      file_name = "es-{date:%Y-%m-%d_%H%M%S}.tar".format(
          date=datetime.datetime.now()
      )
      file_path = os.path.join(tmpdir, file_name)
      tar = tarfile.open(str(file_path), "w")
      tar.add(
          str(tmpdir) + "/data_description.json",
          arcname="/data_description.json",
      )
      tar.add(str(tmpdir) + "/data", arcname="/data")
      tar.close()
      return file_path
  
file_path: featuretools/featuretools/entityset/serialize.py
imports: import datetime
  import json
  import os
  import tarfile
  import tempfile
  from woodwork.serializers.serializer_base import typing_info_to_dict
  from featuretools.utils.gen_utils import import_or_none
  from featuretools.utils.s3_utils import get_transport_params, use_smartopen_es
  from featuretools.utils.wrangle import _is_s3, _is_url
  from featuretools.version import ENTITYSET_SCHEMA_VERSION
label_desc: Use image node_id 4 for calling a global function with example usage: create_archive(tmpdir) and returns: file_path