By closing my text file before the user closes word, the text file is closed and can be deleted with Windows Explorer.

Not sure why the sequence of opening word doc, then a text file, closing word, then closing the text file does create a problem.

But, opening a word doc, opening a text file, closing the text file, then closing word does work without problems.