private static void verifySourceCodeHasCorrectPackageName(File currentFolder,
            PackDetails packDetails) throws IOException {
        final File srcFolder = new File(currentFolder, "src");
        if (packDetails.KeyboardSourceCodeFile != null)
            verifySourceCodeFileHasCorrectPackageName(new File(srcFolder,
                    packDetails.KeyboardSourceCodeFile.replace('.', '/') + ".java"), packDetails);
        if (packDetails.DictionarySourceCodeFile != null)
            verifySourceCodeFileHasCorrectPackageName(new File(srcFolder,
                    packDetails.DictionarySourceCodeFile.replace('.', '/') + ".java"), packDetails);
        if (packDetails.ThemeSourceCodeFile != null)
            verifySourceCodeFileHasCorrectPackageName(new File(srcFolder,
                    packDetails.ThemeSourceCodeFile.replace('.', '/') + ".java"), packDetails);
    }