Basic triggering.
Save data to csv file.