This is how I do it on our local network.
Chrome and Safari will allow you to read a text file as a source similar to how the do with html. They are all basically plain text and it is the extension that determines how it is finally displayed.
The text files in this example are held in a directory the same area as the html file.
You cannot preview this in Hype. Only when you export it and view the exported html will you see it working.
Example2.zip (14.9 KB)