Script to compute tidydata.txt