code: def _read_file(filepath):
      """Helper method for reading a file in binary mode."""
      f = tf.io.gfile.GFile(filepath, mode="rb")
      return f.read()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import json
  import os
  import pickle
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import pyarrow
  import tensorflow
  from tensorflow_data_validation.statistics.generators import image_stats_generator
  from tensorflow_data_validation.utils import test_util
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: _read_file(filepath) and returns: f