readFileString
public func readFileString(String) -> Result[String, IoError]Reads path into a String, decoding the bytes as UTF-8. Convenient
for config files, source files, and other small/medium text. Slurps
the entire file into memory — for huge inputs prefer streaming via
File + readAll.
Examples
let cfg = try readFileString("config.json");
Defined in lang/std/io/file.ks