title: Modify files one at a time
body: <p>I am using a JSON file as the database, so I need to eliminate <code>read/write</code> errors while the file has not been fully updated.</p>
  <p>How do I create a queue of update processes from the same file?</p>
  <p>(I'm using typescript)</p>