readAsText

fun readAsText(blob: Blob, encoding: String = definedExternally)(source)

The readAsText() method of the FileReader interface is used to read the contents of the specified Blob or File.

MDN Reference