Added a triggerDownload method to the excelwriter class