private static void verifyFileCheckSumHasChanged(File file, final boolean mustExist, final String invalidCheckSum, boolean releaseMode) throws NoSuchAlgorithmException, IOException {
        if (!mustExist && !file.exists()) return;
        
    	final String currentFileCheckSum = FileCheckSumGenerator.generateFileCheckSum(file);
        System.out.println("The file '"+file+"' checksum is "+currentFileCheckSum);
        if (currentFileCheckSum.equals(invalidCheckSum)) {
            if (releaseMode) {
                throw new InvalidPackConfiguration(file.getAbsolutePath(), "The file need to be customized for this pack!");
            } else {
                System.out.println("The file '"+file+"' need to be customized for this pack!");
            }
        }
    }