How to write data to a file outside sandbox

Hi Alegato,
Could you please elaborate your answer a bit more? I’ve tried to create file outside sandbox and give app access to it in adef file, but it still says that my file is read only