try { Filesystem.writeFile({ path: `test1/${fileTo.name}`, data: base64String, directory: FilesystemDirectory.Documents }); } catch (e) { console.error("Unable to write file", e); }