<CONTEXT>DataStore dataStore = new DataStore(PerfTestUtils.getTrigramIndexPath(file.getName()),MedlineIndexWriter.SCHEMA_MEDLINE);</BUG>PerfTestUtils.createFile(PerfTestUtils.getResultPath(csvFile), HEADER);fileWriter = new FileWriter(PerfTestUtils.getResultPath(csvFile),true);<extra_id_0>PerfTestUtils.createFile(PerfTestUtils.getResultPath(csvFile), HEADER);fileWriter = new FileWriter(PerfTestUtils.getResultPath(csvFile),true);<BUG>matchRegex(regexQueries, dataStore);</BUG>fileWriter.append("\n");fileWriter.append(currentTime + delimiter);fileWriter.append(file.getName() + delimiter);fileWriter.append(String.format("%.4f", totalMatchingTime / regexQueries.size()));</CONTEXT>
String currentTime = PerfTestUtils.formatTime(System.currentTimeMillis());File indexFiles = new File(PerfTestUtils.trigramIndexFolder);for (File file : indexFiles.listFiles()) {if (file.getName().startsWith(".")) {continue;}String tableName = file.getName().replace(".txt", "");matchRegex(regexQueries, tableName);