can search by using stream  and output CSV