Never mind. I was able to fix the problem by right clicking on the file, choosing 'open with', then selecting 'open with other application', then I selected 'Use a custom command. I then entered '/usr/bin/kate'. The document opened and I am now able to double-click any text file and have it open with kate.
I would still be interested in knowing why.