Generating the csv output for Arbor