Minor edit: The method returns mime type not text; method name updated accordingly.

(really I'm just testing SourceTree git with this commit)