code: def filepath_to_filepath_list(file_path):
      """Returns a list of files given by a filepath.
  
      Args:
        file_path: A path, possibly representing a single file, or containing a
            wildcard or sharded path.
  
      Returns:
        A list of files represented by the provided path.
      """
      file_path = file_path.strip()
      if "*" in file_path:
          return glob(file_path)
      else:
          return [file_path]
  
file_path: what-if-tool/utils/platform_utils.py
imports: import csv
  from glob import glob
  from grpc.beta import implementations
  import os
  import random
  from six.moves.urllib.parse import urlparse
  import tensorflow
  from utils import common_utils
  from tensorflow.core.framework import types_pb2
  from tensorflow_serving.apis import classification_pb2
  from tensorflow_serving.apis import predict_pb2
  from tensorflow_serving.apis import prediction_service_pb2
  from tensorflow_serving.apis import regression_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: filepath_to_filepath_list(file_path) and returns: glob, list