code: def testall(list, recursive, toplevel):
      import sys
      import os
  
      for filename in list:
          if os.path.isdir(filename):
              print(filename + "/:", end=" ")
              if recursive or toplevel:
                  print("recursing down:")
                  import glob
  
                  names = glob.glob(
                      os.path.join(glob.escape(filename), "*")
                  )
                  testall(names, recursive, 0)
              else:
                  print("*** directory (use -r) ***")
          else:
              print(filename + ":", end=" ")
              sys.stdout.flush()
              try:
                  print(what(filename))
              except OSError:
                  print("*** not found ***")
  
file_path: catboost/contrib/tools/python3/src/Lib/sndhdr.py
imports: import warnings
  from collections import namedtuple
label_desc: Use image node_id 16 for calling a global function with example usage: testall(list, recursive, toplevel) without return types