 <p><code>model.write</code> cannot just append to an existing file.</p> <p>In order to add to your existing file, you need to first <em>read</em> the file into your model, then add the additional data to your model, and then finally write the model back to it. </p>