pretty nifty, and a good bit simpler than what I have written to read flat files. (I use them to save a few settings (like users and passwords) between scripts in web- based reporting tools for our computer repair center.) May I have your permission to shamelessly reuse your code?