added file downloading and unpacking and added tidy data set shaping and writing out