filter writes from csv