 The "Optimal Rectangular Code" used in group coded recording tapes not only detects but also corrects single-bit errors.Some file formats, particularly archive formats, include a checksum (most often CRC32) to detect corruption and truncation and can employ redundancy and/or parity files to recover portions of corrupted data.Reed Solomon codes are used in compact discs to correct errors caused by scratches.