write file tidy_data.txt