Where is the file?
If there’s a file in my documents folder called “words.txt” I’d use similar code to below, for reading the contents.
Dim f as folderItem = specialFolder.documents.child( "words.txt" )
Dim tis as textinputStream = textinputStream.open( f )
Dim myText as string = tis.readall
Catch err as IOException
MsgBox "There was an error that prevented the application from reading the file """ + f.displayName + """." + endOfLine + endOfLine + err.message
Although I wouldn’t recommend expecting to be able to read a file in the User’s documents folder, so once you’re happy that you can do something like the above, I’d suggest you investigate how to present a OpenFileDialog and ask the user where the file is.
Edit: Fixed words in wrong order, which still happens even at this age.