I think a slight edit to functions like ReadString() would be nice.
I think that adding a parameter to it, such as a line number, would help as well. Rather than looping through a whole file, you could go right to a specific line with ReadString(lineNumber).
Also, a numLines(filename) function would be good, that returns the number of lines in a file.