Pass file name through to file writer
Rename output file and refactor main
Finish question one
Start to question 2