code: def _fetch_remote(url, filename, dirname=None):
      dirname = _get_data_home(data_home=dirname)
  
      file_path = os.path.join(dirname, filename)
  
      if os.path.exists(file_path):
          logging.info(
              f"Data has already been downloaded... using cached file ('{file_path}')."
          )
      else:
          logging.info(
              f"Downloading '{file_path}' from {url} to '{dirname}'."
          )
          urlretrieve(url, file_path)
  
      return file_path
  
imports: import logging
  import os
  from collections import namedtuple
  from urllib.request import urlretrieve
label_desc: Use image node_id 2 for calling a global function with example usage: _fetch_remote(url, filename, dirname) and returns: file_path