code: def extract_file(filepath: str, data_dir: str):
      try:
          tar = tarfile.open(filepath)
          tar.extractall(data_dir)
          tar.close()
      except Exception:
          logging.info("Not extracting. Maybe already there?")
  
file_path: NeMo/scripts/dataset_processing/speaker_tasks/get_aishell_diarization_data.py
imports: import argparse
  import glob
  import logging
  import os
  import tarfile
  from pathlib import Path
  import wget
  from sox import Transformer
  from nemo.collections.asr.parts.utils.manifest_utils import create_manifest
label_desc: Use image node_id 1 for calling a global function with example usage: extract_file(filepath, data_dir) without return types