Write the recorded data as CSV file, able to turn on/off all the recordings