add  response handler for download file