} else {
if (fileDTO != null && !fileDTO.getOriginalFilename().isEmpty()) {
Boolean defaultStatus = ConfigurationManager
.getBooleanProperty(CrisConstants.CFG_MODULE,"researcherpage.file.import.rpdefaultstatus");
if (AuthorizeManager.isAdmin(dspaceContext)) {
dspaceContext.turnOffAuthorisationSystem();
}
ImportExportUtils.importResearchersXML(fileDTO.getInputStream(), dir,
applicationService, dspaceContext, defaultStatus);
saveMessage(
request,