code: def list_files(files, path):
      """List all files in the directory, recursively."""
      for item in os.listdir(path):
          item = os.path.join(path, item)
          if os.path.isdir(item):
              list_files(files, item)
          elif os.path.isfile(item):
              files.append(item)
  
imports: import sys
  import os
  import struct
  import logging
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: list_files(files, path) without return types