ensured file download/file streaming works