escaep/unescape file contents