code: def find_files(directory, pattern):
      for root, dirs, files in os.walk(directory):
          for basename in files:
              if basename.lower().endswith(pattern):
                  filename = os.path.join(root, basename)
                  yield filename
  
imports: import os
  import numpy
  import essentia.standard
  from essentia import array
label_desc: Use image node_id 1 for calling a global function with example usage: find_files(directory, pattern) without return types