pub fn read_string_from_file(filename: &str) -> Result<String>
Reads the contents of a file to a string.