this should be independent from the response sender, the file to send should be selected by controller.