code: def loadDataFile(file_name, csv_delimiter=" "):
      file_type = file_name.split(".")[-1]
  
      if file_type == "mtx":
          edgelist_gdf = read_mtx(file_name)
      elif file_type == "csv":
          edgelist_gdf = read_csv(file_name, csv_delimiter)
      else:
          raise ValueError(
              "bad file type: '%s', %s " % (file_type, file_name)
              + "must have a .csv or .mtx extension"
          )
      return edgelist_gdf
  
file_path: cugraph/python/utils/run_benchmarks.py
imports: import argparse
  import sys
  from collections import OrderedDict
  from scipy.io import mmread
  import cugraph
  import cudf
  from benchmark import Benchmark
label_desc: Use image node_id 2 for calling a global function with example usage: loadDataFile(file_name, csv_delimiter) and returns: edgelist_gdf