write out to text dump the features