pub fn read_to_string<P: AsRef<Path>>(path: P) -> Result<String>
Reads a file into a string.
Equivalent to std::fs::read_to_string with better error messages.
std::fs::read_to_string