Added the data loading and tidying to each file