checksum throw ERR into written file