code: def get_downloaded_file(dl_folder, url):
      if isinstance(url, tuple):
          url, f = url
      else:
          url_f = urlparse(url)
          # f = os.path.split(url_f.path)[-1]
          f = "_".join(url_f.path.split("/")[1:])
      return url, f"{dl_folder}/{f}"
  
imports: from typing import NamedTuple, List
  from urllib.parse import urlparse
  import os, sys
  import subprocess
  from subprocess import check_call, check_output
  import glob
  import wget
  import re
  import multiprocessing
  from functools import partial
  import pathlib
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling a global function with example usage: get_downloaded_file(dl_folder, url) and returns: url,  dl_folder, str, f