Εrror 2101:Τhe file/filename.txt coult not be found

You can no longer access non-media files (.txt) in the root dir of the external storage or an arbitrary folder on Android 11+.

In order to be able to access such files,

  1. They must be in one of the Shared folders (/Documents or /Download) and must have been created by the app itself.

  2. They must be in the ASD.
    (In this case, it doesn't matter if the file was created by the app or manually copied to the ASD, using a file manager.)

  3. Or use the Storage Access Framework (SAF).
    (But in this case you can’t access:
    3.1. /storage/emulated/0/ (the root dir of the external storage) and
    3.2. /storage/emulated/0/Download/
    But you can access:
    3.3. /storage/emulated/0/Downloads/)