title: Modify app assets using Phonegap's File API
body: <p>I worked on a phonegap application using <em>html5</em> for a month. I handle offline <em>JSON</em> files using <em>File API</em>.<br>
  It seems that the <em>JSON</em> files I store are automatically saved on <code>/mnt/sdcard/</code>.</p>
  
  <p>The problem is, I find myself handling 3 files for each file I want.<br>
  <strong>1</strong> st the file packaged with my app (js/products.js)<br>
  <strong>2</strong> nd the remote file that sends me updates (http://website/remote_products.js)<br>
  <strong>3</strong> rd the local file on sdcard I update with the remote data. (<code>/mnt/sdcard/updated-products.js</code>)</p>
  
  <p><strong>Is it possible to - <em>instead of saving on the sdcard</em> - update my app's assets using File API ?<br>
  Or create a new file in my app assets folder ?</strong></p>
  
  <p>(the JSON file packaged with my app. Found in <code>js/products.js</code>)</p>
  
  <p>If yes, how plz ?</p>
  
  <p>thx</p>