pub fn generate_diff( filename: &str, old_content: Option<&str>, new_content: Option<&str>, ) -> String