export sample to excel file