What would be the way?
In v3, is there an Action called Save Report to File?
Save Report to File
If so, look here: