code: def file_crc32(filename, chunksize=_CHUNKSIZE):
      
  
      check = 0
      with open(filename, 'rb') as fd:
          for data in iter(lambda: fd.read(chunksize), ""):
              check = crc32(data, check)
      return check
docs: calculate the CRC32 of the contents of filename