Can now specify file type in writeExcelFile (ie. 'CSV')