Saving and loading documents saved on a computer

I was wondering how to save documents from a project, while opening and reading documents. Can someone help me?

Documents as in text? PDF? Or what?

If it's text, just drag it from your desktop into Snap!. To save text, put it in a variable, check the box to make a stage watcher, then right-click on the watcher and choose Export.

As a .txt file with JavaScript.