title: Edit and save a file locally with JS
body: <p>I don't know if it's possible but here's what I would like to achieve. I would want to be able to load a JSON file using a file input, edit it in a web page and then save the changes is the initial file. I know that for security reason the browser doesn't have full access to the disk but I was wondering if there was a way to allow updates for a specific file.</p>
  
  <p>In a nutshell, the flow would be</p>
  
  <ol>
  <li>Load the file</li>
  <li>Edit it</li>
  <li>Save the changes (rewriting the initial one)</li>
  </ol>
  
  <p>I don't care about browser compatibility, so if the solution is based on a specific brower's API, it's good enough for me.</p>
  
  <p>Also, I know about the <code>download</code> attribute, but I'm trying to avoid the "normal" download flow (popup or the file being thrown is the Downloads folder).</p>
  
  <p>Thanks in advance !</p>