pub fn write_file(path: &str, content: &str) -> Result<(), String>