It doesn't work for me, see title.
Yes, Google removed the ability to upload TXT files some time ago. You'll have to put text in those files in any of the supported formats and then upload it to Google. I can't create those file formats because of their complexity. Unless I would find some library I could include in the project, but it has very low priority.