first modifications for crc-file verification