Opening text files in 2019r2

I have made most of the conversions to 2019r2; the work was tedious, but for the most part I was able to get the results I wanted. One problem remains - opening and writing existing Text Files.

My old 2019r1 code used the line [fldr = GetFolderItem(FilNam)] where FilNam was a string containing the full path of the file (“Macintosh HD/users/me/Documents/Checkbook/DataFils/AcctFil.txt”)

I cannot get a command that passes the 2019r2 “Analyze Project” test without an error.

Can anyone show me a simple line of code to open an existing text file in 2019r2?

Have a look at .