static int Main(string[] args) { if (args.Length != 1) { Console.WriteLine("USAGE: Report.exe [directory]"); return 1; } Report report = new Report(args[0], Console.Out); report.Parse(); report.WriteSummary(); return 0; }