This initial fix ensures that functions can process single MultipartFile as well as multiple. Resolves #597