separate csv output from pdf and xls