I think I know whats wrong:
![]()
fileName is the complete path , eg --> /storage/emulated/0/Android/data//files/files/file.pdf
so this:

Would lead to the following path:
/storage/emulated/0/Android/data//files/files/storage/emulated/0/Android/data//files/files/file.pdf
Am I right?
So what would be the correct blocks?