Usually you would keep the whole content of the file in memory. When you want to save it, overwrite the whole file with a new file with saveStrings(). When you want to load it, load the whole file with loadStrings() and then access individual lines.
2 Likes