Matcher genMatcher = analysisGeneralPattern.matcher(report.getName());
Matcher monMatcher = analysisMonthlyPattern.matcher(report.getName());
StatReport statReport = new StatReport();
if (genMatcher.matches()) {
statReport.setType("general");
rg.processReport(context, statReport, report.getAbsolutePath());
stat.add(statReport);
} else if (monMatcher.matches()) {
statReport.setType("monthly");
rg.processReport(context, statReport, report.getAbsolutePath());
stat.add(statReport);