fun <ERROR CLASS><File>.text(charset: Charset = Charsets.UTF_8): <ERROR CLASS>
Platform and version requirements: JVM
fun Assert<File>.text(charset: Charset = Charsets.UTF_8): Assert<String>
Returns an assert on the file's contents as text.