// add one more just to not start at 0%
progressCounter++;
waitingDialog.setMaxPrimaryProgressCounter(progressCounter);
waitingDialog.increasePrimaryProgressCounter(); // just to not start at 0%
boolean needDialog = false;
// load the identification files
if (idFiles.size() > 0