code: def read_src_list_csvfile(filepath, handle_dups="ignore"):
      """Read source list from csv file.
  
      Each line should contain the location of a source image file.
  
      Returns:
        List of file locations.
      """
      logging.debug("Reading images list from %s." % filepath)
      try:
          with tf.gfile.GFile(filepath) as input_file:
              return _check_src_list_dups(
                  input_file.read().splitlines(), handle_dups
              )
      except NameError:
          with open(filepath) as input_file:
              return _check_src_list_dups(
                  input_file.read().splitlines(), handle_dups
              )
  
file_path: facets/facets_atlasmaker/atlasmaker_io.py
imports: import io
  import json
  import os
  import time
  import sys
  from absl import logging
  from PIL import Image
  import requests
  from requests.exceptions import Timeout
label_desc: Use image node_id 3 for calling a global function with example usage: read_src_list_csvfile(filepath, handle_dups) and returns: _check_src_list_dups, _check_src_list_dups