code: def __extract_file(filepath, data_dir):
      try:
          tar = tarfile.open(filepath)
          tar.extractall(data_dir)
          tar.close()
      except Exception:
          print(
              f"Error while extracting {filepath}. Already extracted?"
          )
  
file_path: NeMo/examples/nlp/token_classification/data/get_libritts_data.py
imports: import argparse
  import glob
  import os
  import re
  import shutil
  import subprocess
  import tarfile
  from tqdm import tqdm
  from nemo.collections.nlp.data.token_classification.token_classification_utils import create_text_and_labels
  from nemo.utils import logging
label_desc: Use image node_id 1 for calling a global function with example usage: __extract_file(filepath, data_dir) without return types