in reply to Storing Info in a text File

To save on general processing, you may want to just have a second text file with the next available id, and increment that every time you add a line. That way it is completely independent of how many lines you have in the file, and you can add using >> without having to parse that entire file. Just my 2E-2.

Dave