code: def get_batch_to_fn_d(files):
      batch_to_fn_d = {}
      batch_id = 0
      for fn in files:
          start, end = get_batch_start_end(fn)
          batch_offset = batch_id
          for _ in range(start, end + 1):
              batch_to_fn_d[batch_id] = fn, batch_offset
              batch_id += 1
      return batch_to_fn_d
  
imports: from __future__ import annotations
  from typing import Tuple, Dict, Optional, List, Union
  import os
  import cudf
  from cugraph.utilities.utils import import_optional
  from cugraph_dgl.dataloading.utils.sampling_helpers import create_homogeneous_sampled_graphs_from_dataframe, create_heterogeneous_sampled_graphs_from_dataframe, create_homogeneous_sampled_graphs_from_dataframe_csc
label_desc: Use image node_id 3 for calling a global function with example usage: get_batch_to_fn_d(files) and returns: batch_to_fn_d