Add file sending functionality that respects res.download params