code: def read_graph(name):
      fname = (
          importlib.resources.files("networkx.algorithms.flow.tests")
          / f"{name}.gpickle.bz2"
      )
  
      with bz2.BZ2File(fname, "rb") as f:
          G = pickle.load(f)
      return G
  
file_path: networkx/networkx/algorithms/flow/tests/test_maxflow_large_graph.py
imports: import bz2
  import importlib.resources
  import os
  import pickle
  import pytest
  import networkx
  from networkx.algorithms.flow import boykov_kolmogorov, build_flow_dict, build_residual_network, dinitz, edmonds_karp, preflow_push, shortest_augmenting_path
label_desc: Use image node_id 2 for calling a global function with example usage: read_graph(name) and returns: G