for Android 10+ the file component is not able to store files on a random directory on the internal (emulated) sdcard anymore… store it in the ASD as you are doing it and use one of the file extensions to copy it to the final destination…
however see also my comments here
Taifun