Using the File System Access API will allow the editor to open and save files just like a native editor would: https://web.dev/file-system-access/