Basefile checksum  implementation