code: def glob_at_depth(filename_glob, cwd=None):
      if cwd is not None:
          cwd = "."
      globbed = []
      for root, dirs, filenames in os.walk(cwd):
          for fn in filenames:
              # This is not tested:
              if fnmatch.fnmatch(fn, filename_glob):
                  globbed.append(os.path.join(root, fn))
      return globbed
  
imports: from collections import namedtuple
  from hashlib import sha256
  import os
  import shutil
  import sys
  import fnmatch
  from sympy.testing.pytest import XFAIL
label_desc: Use image node_id 6 for calling a global function with example usage: glob_at_depth(filename_glob, cwd) and returns: globbed