private void deleteHTMLReportDirectory(File path) {
        Logger.getLogger(ReportGenerator.class.getName()).entering(ReportGenerator.class.getName(), "deleteHTMLReportDirectory", path);
        if( path.exists() ) {
            File[] files = path.listFiles();
            for (File file : files) {
                if (file.isDirectory()) {
                    deleteHTMLReportDirectory(file);
                } else {
                    file.delete();
                }
            }
            path.delete();
        }
        Logger.getLogger(ReportGenerator.class.getName()).exiting(ReportGenerator.class.getName(), "deleteHTMLReportDirectory");
    }