fixed changing back to the original dir after a file has been processed
Merge branch 'master' of https://github.com/eschulte/optimization