pub fn format_file(path: &str, max_width: usize) -> Result<String>
Format a file on disk, returning the formatted text. Auto-detects format from the file extension.