code: def get_files_list(cls, data_path):
      dirs = [
          (
              dir_name,
              [
                  file_path
                  for file_path in map(
                      lambda name: os.path.join(dir_path, name),
                      os.listdir(dir_path),
                  )
                  if os.path.isfile(file_path)
              ],
          )
          for (dir_name, dir_path) in map(
              lambda name: (name, os.path.join(data_path, name)),
              os.listdir(data_path),
          )
          if os.path.isdir(dir_path)
      ]
      dirs.sort(key=lambda dir_files: dir_files[0])
      for _, files in dirs:
          files.sort()
      return dirs
  
imports: import argparse
  import cv2
  import numpy
  import nvidia.dali
  import nvidia.dali.types
  import os
label_desc: Use image node_id 2 for calling the FilesDataSet obj's underlying member method code with example usage: obj.get_files_list(cls, data_path) and returns: dirs