code: def get_files(dir):
      file_list = []
      for root, _, files in os.walk(dir):
          for file in files:
              file_list.append(os.path.join(root, file))
      return file_list
  
file_path: deepspeed/deepspeed/checkpoint/reshape_utils.py
imports: import os
  import torch
  from collections import OrderedDict
  from .constants import ZERO_FILE_PREFIX, FP16_ZERO_FILE_PREFIX, BF16_ZERO_FILE_PREFIX
label_desc: Use image node_id 4 for calling a global function with example usage: get_files(dir) and returns: file_list