code: def file_crc32(filename, block_size=_DEFAULT_BLOCK_SIZE):
      """Get the crc32 of the passed file.
  
      The crc32 of a file can be used for error checking; two files with the same
      crc32 are considered equivalent. Note that the entire file must be read
      to produce the crc32.
  
      Args:
        filename: string, path to a file
        block_size: Integer, process the files by reading blocks of `block_size`
          bytes. Use -1 to read the file as once.
  
      Returns:
        hexadecimal as string, the crc32 of the passed file.
      """
      crc = 0
      with FileIO(filename, mode="rb") as f:
          chunk = f.read(n=block_size)
          while chunk:
              crc = binascii.crc32(chunk, crc)
              chunk = f.read(n=block_size)
      return hex(crc & 0xFFFFFFFF)
  
imports: import binascii
  import os
  from posixpath import join
  import uuid
  import six
  from tensorflow.python.framework import errors
  from tensorflow.python.lib.io import _pywrap_file_io
  from tensorflow.python.util import compat
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 31 for calling a global function with example usage: file_crc32(filename, block_size) and returns: hex