private boolean checkOtherCRC(byte[] data, int byteIndex, int switchIndex,
			String filename, int offsetInData) {
		// If the switch at data[byteIndex].switchIndex is on,
		// then check that the CRC at
		// data[offsetInData] ... data[offsetInData+3]
		// matches the CRC of filename.
		// If not, return false.
		// If any other case, return true.
		int switches = data[byteIndex] & 0xFF;
		if (((switches >> switchIndex) & 0x01) == 0x01) {
			// have to check the CRC
			int crc = readFullInt(data, offsetInData);

			if (getFileChecksum(filename) != crc) {
				return false;
			}
		}
		return true;
	}