Read / write data from text file

Is there any way to read / write data to a text file?
I have looked all through the scripting reference but haven’t found anything.

–Eric

Thanks :smile: