pub fn diagnose_file( path: &Path, directed: Option<bool>, max_examples: usize, extract_path: Option<&Path>, ) -> Result<DiagnosticSummary>