TextInputStream.Open
From Xojo Documentation
Shared Method
Opens the passed FolderItem to be read as a text file. Returns a TextInputStream. An IO error will trigger an IOException.
Notes
Reading from the file will begin at the start of the file. If you wish to read from any other point in the file, use the BytePosition property to move the read position.
This shared method replaces the deprecated FolderItem.OpenAsTextFile.