apply a filter to each stream (except closed)