code: def listdir_remote(path):
      """
      Wrapper to list paths in local dirs (alternative to using a glob, I suppose)
      """
      if is_remote_path(path):
          return gfile.listdir(path)
      return os.listdir(path)
  
file_path: DeepSpeech/training/deepspeech_training/util/io.py
imports: import os
  from tensorflow.io import gfile
label_desc: Use image node_id 6 for calling a global function with example usage: listdir_remote(path) and returns: os, gfile