Updating a text file

So I am trying to make a scoreboard. I have done it before in regular processing, but I have just now realized that with p5js, it downloads the file rather than saving it to a folder, which I guess makes sense. So is there any way I can get around this?

are you using this editor - https://alpha.editor.p5js.org/? from the save dialog, select the folder that you want to save the file to. As of right now, it looks like the editor is still in development. Have you tried any other editors?

Or is this a coding question?

I’m using processings default editor with p5js mode.