Added better message, fixed newline ommission in writing