documented and expanded returnCSV method.