What would be required to write a line of code at the bottom to output the results to a CSV file? Thanks