Can't read the document with a "File" type of file

None UiPath suggestion:

Turn on the check box in Windows for “File name extension” so you can actually see what the file extension is. If a file does not have any extension Windows marks its type as “File” (see image below)
image

So if you’re using an extension of .txt or .file when you call the file, it will fail because it doesn’t exit.