Download file anly has this option: https://docs.mendix.com/refguide/download-file#3-1-show-file-in-browser
and browsers give the user the choice to open or save the file.
In my experience this is the behavior users normally expect.
Would that be ok in your case?