clean data and write to TidyDataSet.txt