added changes to txtfilter