excel file generation working