Completed pass to write tidy_data.txt