Minor update
Write all will now keep any lines not previously rewritten