added wc to textfilestreamer