Outputs a text file of current data every 10 seconds.