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/get_aishell_data.py
imports: import argparse
  import json
  import logging
  import os
  import subprocess
  import tarfile
  import urllib.request
  from tqdm import tqdm
label_desc: Use image node_id 4 for calling a global function with example usage: extract_file(filepath, data_dir) without return types