that was very very helpful, i just have a small update, you can dynamically retrieve the parameters from the report JRXML -i have done it before on another non-cuba based application-, will share the code after i actually do it on CUBA.
Please check number 4 picture above check for the string filename Its being hard coded. You can also use path variable too but on this example i just use hard code.