@pld I've renamed get-file to parse-csv-response since it handles a csv response uniquely and written to a file here and it can't be parsed as json string. 

I could as well pass csv response body to the view so that it gets written by the dataset view. i.e. the section below goes to dataset view namespace in the download function.

```(with-open [out-file (io/writer path :append false)]
      (.write out-file body))
(assoc (response/file-response filename :headers {})
```
Is that ok?