import files from "/libs/wpower/files.js";
// A dialog will popup
var [Handle,Content] = await files.read_file();
// No dialog, or only permission notification
await files.write_file(Handle,Text);
// With dialog
await files.write_new_file(Text);