adding mime check for text datastream indexing