In a system flow I am trying to save a report however the only option is generate report .

The output of this process action is report data in binary. But I would like to export the file to a location and save the path in the row.

What is the best practice in doing this? Is write file the only alternative?