readUtf8

@JvmName(name = "readUtf8From")
fun File.readUtf8(): String(source)

Read the full contents of the file (as UTF-8 text).

Should only be utilized for smallish files.