Users externalUser = Usermanagement.getInstance().getUserByExternalIdAndType(externalUserId, externalType);
LinkedHashMap<String, Object> hs = new LinkedHashMap<String, Object>();
hs.put("user", externalUser);
HashMap<String, HashMap<String, Object>> returnError = fileProcessor.processFile(externalUser.getUser_id(), room_id, isOwner, inputstream, parentFolderId, fileSystemName, current_dir, hs, externalFileId, externalType);
HashMap<String, Object> returnAttributes = returnError.get("returnAttributes");
// Flash cannot read the response of an upload
// httpServletResponse.getWriter().print(returnError);