code: def fetch_files_from_folder(folder):
      options = glob(f"{folder}/**", recursive=True)
      data_files = []
      # All files inside the folder need to be added to package_data
      # which would include yaml configs as well as project READMEs
      for option in options:
          if os.path.isdir(option):
              files = []
              for f in glob(os.path.join(option, "*")):
                  if os.path.isfile(f):
                      files.append(f)
                  data_files += files
      return data_files
  
file_path: mmf/setup.py
imports: import codecs
  import os
  import platform
  import re
  from glob import glob
  import setuptools
  from setuptools import Extension
  from setuptools.command.build_ext import build_ext
label_desc: Use image node_id 6 for calling a global function with example usage: fetch_files_from_folder(folder) and returns: data_files