Functioned out repeated code into a service
Pulled out parsing file code into service
Functioned out writing code
Merge conflict