Can i get a Keyword ( groovy script or code ) to download the file?

Hi There,

Could you please share me the code if you have which would help me in automate the download file scenarios.

Example Scenario : Download History Report module

Please assist me.

Thanks

Sridhar S