public static void getStats(final File folder, CorpusLanguage language, DatabaseHelper _dbhelper) {
        for (final File fileEntry : folder.listFiles()) {
            if (fileEntry.isDirectory()) {
                getStats(fileEntry, language, _dbhelper);
            } else {
                System.out.println(fileEntry.getAbsolutePath());
                Parser p = null;
                switch(language) {
                    case RUSSIAN:
                        p = new ParserRU(fileEntry.getAbsolutePath(), _dbhelper);
                        break;
                    case FINNISH:
                        p = new ParserFI(fileEntry.getAbsolutePath(), _dbhelper);
                        break;
                    case ITALIAN:
                        p = new ParserITA(fileEntry.getAbsolutePath(), _dbhelper);
                        break;
                    case SWEDISH:
                        p = new ParserSW(fileEntry.getAbsolutePath(), _dbhelper);
                        break;
                    case DEUTSCH:
                        p = new ParserGER(fileEntry.getAbsolutePath(), _dbhelper);
                        break;
                }
                p.getStats();
            }
        }
    }