To deal with report download using excel.