Function File.getAsText

Returns the whole file as a String. Text is interpreted as being UTF-8 encoded.

String getAsText() nothrow @nogc const;