A better way to do this would probably be to use an ini file. You can use a single ini for everyone and it should be easier to read and edit than a normal text file.

Look up /writeini and $readini in the help file.