Load a file in reverse

From https://forum.xojo.com/t/load-text-file-in-reverse/60911

Simply read the file from beginning to end and instead of always appending lines always INSERT the line just read at the front of the listbox.

t = f.OpenAsTextFile // open selected text file
While Not t.EndOfFile
 x = t.ReadLine
  lstHistory.AddRowAt(0, x)
Wend
t.Close

and the list will appear “reversed” as if you read from the end back to the beginning