readFileAsText

open fun readFileAsText(filename: String): Boolean

Opens and reads the given filename as text.

Return

true if the read was successful; otherwise, false.

Parameters

filename

The file to open and read.

Throws

exception while reading from the file