code: def get_filenames(root_dir):
      root_dir = pathlib.Path(root_dir)
      return glob(str(root_dir / "*/*"))
  
imports: import os
  import pathlib
  import random
  import time
  from functools import partial
  from glob import glob
  from pathlib import Path
  from typing import Callable, Union
  import tensorflow
  from typeguard import check_argument_types, typechecked
  from chitra.image.tf_image import read_image, resize_image
label_desc: Use image node_id 2 for calling a global function with example usage: get_filenames(root_dir) and returns: glob