code: def parse_filename_from_url(url):
      # Separate method as it might require additional checks for the parsing.
      filename = url.split("/")[-1]
      return unquote(filename)
  
file_path: metaflow/metaflow/plugins/pypi/utils.py
imports: import os
  import platform
  import sys
  from urllib.parse import unquote, urlparse
  from metaflow.exception import MetaflowException
label_desc: Use image node_id 4 for calling a global function with example usage: parse_filename_from_url(url) and returns: unquote