pub fn read_file_to_str<P: AsRef<Path>>(filename: P) -> Result<String>