Switched to download and filter on the fly, with a view to provding a filtered stream instead of just writign directly to file