class InterviewResponseServiceImpl implements InterviewResponseService {

    @Override
    @Transactional(readOnly = true)
    public ServiceResult<FileAndContents> downloadResponse(long applicationId) {
        return findAssignmentByApplicationId(applicationId).andOnSuccess(interviewAssignment ->
                fileEntryService.findOne(interviewAssignment.getResponse().getFileResponse().getId())
                        .andOnSuccess(this::getFileAndContents));
    }

}