Fix a minor mistake where the directories wouldn't be valid anymore (and minor update to allignments of design).
We now properly take the output file in consideration when writing to it.
Update README.md.