changed the name of the csv file to write to for the 2 discrete case