code: def list_all_source_file(file_regex, srcdirs):
      all_files = []
      for srcdir in srcdirs:
          for root, dirs, files in os.walk(srcdir):
              for f in files:
                  if re.search(file_regex, f):
                      src = os.path.join(root, f)
                      all_files.append(src)
      return all_files
  
file_path: cuml/cpp/scripts/include_checker.py
imports: from __future__ import print_function
  import sys
  import re
  import os
  import argparse
  import io
  from functools import reduce
  import operator
  import dataclasses
  import typing
label_desc: Use image node_id 5 for calling a global function with example usage: list_all_source_file(file_regex, srcdirs) and returns: all_files