added support for csv file output on soql