Implement reading and writing http://www.gnu.org/software/diffutils/manual/html_node/Context-Format.html