Write dataSet and tidyData to text files