downloads csv (needs testing)