Write output file for extract
Clean up
Added another example
Writing last byte _almost_ correctly
move to home