code: def _extract_zip(
      from_path: str,
      to_path: Optional[str] = None,
      overwrite: bool = False,
  ) -> List[str]:
      if to_path is None:
          to_path = os.path.dirname(from_path)
  
      with zipfile.ZipFile(from_path, "r") as zfile:
          files = zfile.namelist()
          for file_ in files:
              file_path = os.path.join(to_path, file_)
              if os.path.exists(file_path):
                  _LG.info("%s already extracted.", file_path)
                  if not overwrite:
                      continue
              zfile.extract(file_, to_path)
      return files
  
file_path: audio/src/torchaudio/datasets/utils.py
imports: import logging
  import os
  import tarfile
  import zipfile
  from typing import Any, List, Optional
  import torchaudio
label_desc: Use image node_id 2 for calling a global function with example usage: _extract_zip(from_path, to_path, overwrite) and returns: files