On Android 11+, a non-media file can be saved in one of the shared folders (like /Download or /Documents) only if this file was not previously created by another app. If the app was un-/reinstalled, this newly launched app is again a new app which cannot overwrite the previously saved non-media file. This file
- must first be removed manually (by the user) or
- must have a different name (so I would recommend adding a timestamp).
@Anke already mentioned it in post #3.
No, I do not think so.