I try also with:
res.setHeader("Content-Disposition", `attachment; filename="${filename}"`);
but I don't found the filename in the result flow...