The Load Text File() and Save Text File() commands allow manipulation of text files from JSL. Note that the paths in the following code are strings.
text = Load Text File( "path" );
Save Text File( "path", text );
You can load a text file from a Web site:
Load Text File( "URL", <blob> );
The URL is a quoted string that contains the URL for the text file. The text file is returned as a string. If you add the optional named argument blob, a blob is returned instead.