Configured Spring for multipart input and implemented upload of file in controller