Kenneth, save my attachment as test.txt (had to rename to .doc to attach) and try it with that file. In notepad, you can see an empty line at the end of the file. This is a correct file. If you backspace so that there is no empty line, that should throw the error.