fogman posted a good solution some weeks ago: "fileparser" He wrote two functions, one for strings and one for variables. file_seek sets the reading cursor to the beginning of the file, file_find, finds the string, and the line after that reads the string or the variable after the found string.