added file download functionality to controller/service/mock backend