now export to file is a new function in rest - it has forced download response