}
}
// TODO: refactor this here
if (!corpora.isEmpty()) {
CorpusElement aCorpus = corpora.getFirst();
NlpProject project = aCorpus.getNlpProject();
Collection<CasProcessorFolder> sourceFolders = project.getCasProcessorFolders();
for (CasProcessorFolder sourceFolder : sourceFolders) {