Unfortunately your latest screenshot is of bad quality, so I can't check the blocks...
Did you get that running in the foreground?
Your previous screenshot shows us, that you are trying to use the file component, however the file component is not able to read a text file which is owned by another app... see also Some basics on Android storage system
you will need SAF or in case you do not plan to publish your app in Google Play you can ask for manage external storage permission