protected void verifySignature(RandomAccessFile randomaccessfile) throws IOException, InvalidLodFileException
    {
        randomaccessfile.seek(0L);
        boolean matchedSignature = true;
        for (int i = 0; i < SIGNATURE_NEW.length; i++)
        {
            int aByte = randomaccessfile.read();
            if (aByte != SIGNATURE_NEW[i])
            {
                matchedSignature = false;
                break;
            }
        }
        if (false == matchedSignature)
        {
            randomaccessfile.seek(0L);
            matchedSignature = true;
            for (int i = 0; i < SIGNATURE_GAME.length; i++)
            {
                int aByte = randomaccessfile.read();
                if (aByte != SIGNATURE_GAME[i])
                {
                    matchedSignature = false;
                    break;
                }
            }
        }

        if (false == matchedSignature)
        {
            throw new InvalidLodFileException("Invalid Signature");
        }
    }