@RequestMapping(value = "/import", method = RequestMethod.POST)
public String upload(byte[] input, byte[] investment, String locale, long institution, ModelMap modelMap) {
String[] splitted = locale.split("_");
Locale currency = new Locale(splitted[0], splitted[1], "");
FinancialInstitution financialInstitution = FinancialInstitution.findFinancialInstitution(institution);
List<Message> messages = qifService.importQIF(currency, financialInstitution, new ByteArrayInputStream(input), investment != null && investment.length > 0 ? new ByteArrayInputStream(investment) : null);
modelMap.addAttribute("messages", messages);
return "qif/result";
}