from File
Creates a text resource backed by the given file.
Return
a text resource backed by the given file
Parameters
file
a text file evaluated as per files
charset
the file's character encoding (e.g. "utf-8"
)
Same as fromFile(file, Charset.defaultCharset())
.