Added check for existing checksum.