code: def file_generator(path: str):
      for dirpath, dirnames, files in os.walk(path):
          for file in files:
              yield os.path.abspath(os.path.join(dirpath, file))
  
imports: import re
  import os
  import argparse
  from itertools import chain
  import logging
  import sys
  import subprocess
label_desc: Use image node_id 12 for calling a global function with example usage: file_generator(path) without return types