class GenericQuestionApplicationController {

    @PostMapping(params = "removeAppendix")
    public String removeAppendix(@ModelAttribute(name = "form") GenericQuestionApplicationForm form,
                                         @SuppressWarnings("unused") BindingResult bindingResult,
                                         ValidationHandler validationHandler,
                                         @RequestParam("removeAppendix") long fileEntryId,
                                         Model model,
                                         @PathVariable long applicationId,
                                         @PathVariable long questionId,
                                         UserResource user) {
        return handleRemoveFile("appendix", FormInputType.FILEUPLOAD, questionId, applicationId, fileEntryId, user, validationHandler, model);
    }

}