Output tidy data to file at end