code: def _iter_files(run, args):
      path_filter = _path_filter(run, args)
      for root, dirs, files in os.walk(
          run.dir, followlinks=args.follow_links
      ):
          for name in dirs + files:
              full_path = os.path.join(root, name)
              rel_path = os.path.relpath(full_path, run.dir)
              if path_filter.match(rel_path):
                  yield rel_path
              else:
                  if name in dirs:
                      path_filter.maybe_delete_dir(name, rel_path, dirs)
  
imports: import fnmatch
  import logging
  import re
  import os
  from guild import cli
  from guild import run_manifest
  from guild import util
  from .None import remote_impl_support
  from .None import runs_impl
label_desc: Use image node_id 8 for calling a global function with example usage: _iter_files(run, args) without return types