code: def list_files_from_dir(directory):
      file_names_list = tf.io.gfile.listdir(directory)
      path_files_list = [
          os.path.join(directory, f) for f in file_names_list
      ]
      return path_files_list
  
imports: import os
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: list_files_from_dir(directory) and returns: path_files_list