code: def test_urls(files):
      headers = {
          "User-Agent": "Mozilla/5.0 (compatible; MSIE 6.0; Fiona CI check)"
      }
  
      for fpath in files:
          print(f"Processing: {fpath}")
          with open(fpath) as f:
              text = f.read()
              urls = re.findall("(https?:\\/\\/[^\\s`>'\"()]+)", text)
  
              for url in urls:
                  http_code = None
                  try:
                      r = requests.get(url, headers=headers)
                      http_code = r.status_code
                      warn = ""
                      if not http_code == 200:
                          warn = " <--- !!!"
                  except Exception as e:
                      warn = str(e)
  
                  if len(warn) > 0:
                      print(f"\t {url} HTTP code: {http_code} {warn}")
  
imports: import requests
  import glob
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: test_urls(files) without return types