For android 10 and up, you have to request explicit read access for the file/directory if you use File Stream. Alternatively you can use Storage Access Framework to access the file. This can be done via an android plugin .
Here is an open source plugin that allows your app to import files through the native file browser: