# saveTable creating new file instead of appending existing

**URL:** https://discourse.processing.org/t/savetable-creating-new-file-instead-of-appending-existing/4858
**Category:** Coding Questions
**Created:** [October 25, 2018, 10:46am UTC](https://discourse.processing.org/t/savetable-creating-new-file-instead-of-appending-existing/4858 "2018-10-25T10:46:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zooto68](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/zooto68/32/1901_2.png) [@zooto68](https://discourse.processing.org/u/zooto68)
#### Post date: [October 25, 2018, 10:46am UTC](https://discourse.processing.org/t/savetable-creating-new-file-instead-of-appending-existing/4858/1 "2018-10-25T10:46:43Z")

</div>

Hi, I am trying to load in a file in my sketch folder using loadTable, add some data to the file and then save it back to the same file.

However, the file is being downloaded in the browser to the default browser download folder instead of appending the data to the original file loaded in. How do I get the sketch to append the data to the existing file, in the sketch folder please?

Thanks.

---

<div class="post-metadata">

### Author: ![TheWizardBear](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/thewizardbear/32/3552_2.png) [@TheWizardBear](https://discourse.processing.org/u/TheWizardBear)
#### Post date: [October 25, 2018, 7:47pm UTC](https://discourse.processing.org/t/savetable-creating-new-file-instead-of-appending-existing/4858/2 "2018-10-25T19:47:03Z")

</div>

A similar thing was mentioned [here](https://discourse.processing.org/t/savejson-downloads-instead-off-saving-the-json-file/2755/2).  
Basically, if you want to edit a file, use something other than p5.js.
