Not much to it - you read line by line:
var b = new File("c:\test.txt");
var str = "";
str += b.readln();
So we give it a file path and it reads line-by-line until it's done. The 'r' in open('r') means we're opening the file read-only. But we can also write to that text file...
var a = new File("c:\test.txt");
The beautiful part is that now you can store data - maybe even a simple database. Or maybe you can import some comma separated goodness and throw down on some business cards. Whatever it is, Enjoy!