Trying to adjust an old project

Use file scope Legacy and for your tests make sure, the file /Documents/oportunidad.csv not already exists before trying to store

Use the file component and its SaveFile method, no extension needed

Again use the file component and its ReadFrom method

See also Storage

Important is, who is the owner of the file. If it is not your app, you have to use SAF as already mentioned

Are you planning to publish your app in Google Play? If not you can follow the tutorial here and avoid using SAF

Taifun