pub fn write_file(path: &Path, content: &str) -> Result<(), String>
Write modified content back to the file at path.
path