String filePath = file.path; var fileName = filePath.substring(filePath.lastIndexOf("/") + 1, filePath.length); MultipartFile multipartFile = aw