pub fn read_to_string_sync(filename: &Path) -> Result<String>
Read file contents to a string. If using within the web browser environment, a local storage key with the name of the file will be used.