Reads the entire contents of a file into a string.
static Result<String, IoError> readToStringSync(Path path) { return Fs.ioGuardSync(() => File(path.asString()).readAsStringSync()); }