code: def unzip_file(file: Path, to: Path):
      # unpack and write out in CoNLL column-like format
      from zipfile import ZipFile
  
      with ZipFile(file, "r") as zipObj:
          # Extract all the contents of zip file in current directory
          zipObj.extractall(to)
  
imports: import os
  import re
  import shutil
  import tempfile
  from pathlib import Path
  from urllib.parse import urlparse
  import requests
  from requests import HTTPError
  from fastNLP.core.log import logger
  from rich.progress import Progress, BarColumn, DownloadColumn, TimeRemainingColumn, TimeElapsedColumn
label_desc: Use image node_id 10 for calling a global function with example usage: unzip_file(file, to) without return types