else if(oldpr.run(new FileInputStream(f),false))
edit = oldpr.getEditor()[0];
else continue;
MetricsUIRequestHandler ui = new MetricsUIRequestHandler(edit);
for(String metric:metricsList){
StringPair result;
if(metric != null)
result = ui.calculateSingle(metricsConfig, metric);
else
result = new StringPair("","");
write.write(","+result.getValue());
}
write.write("\r\n");
edit.closeEditor();
index++;
}