Thanks for the reply. I just changed where I had the DEL command and it worked for me.

However, is it possible to just read the first line of the file instead of the whole thing and compare a string to that?

Thanks.