hs.put("error", returnError.getLogMessage());
hs.put("fileName", returnError.getCompleteName());
//FIXME: Send event to UI that there is a new file
return returnError.convertToFileImportErrors();
}
} catch (Exception err) {
log.error("[importFile]", err);
}