Added support for reporting using csv files.