Changed readCSV to include Flag and Complete

And Added writeCSV