code: def _read_atlas_zonefile( zonefile_path, zonefile_hash ):
      
  
      with open(zonefile_path, "rb") as f:
          data = f.read()
  
      # sanity check 
      if zonefile_hash is not None:
          if not verify_zonefile( data, zonefile_hash ):
              log.debug("Corrupt zonefile '%s'" % zonefile_hash)
              return None
  
      return data
docs: Read and verify an atlas zone file