private static void ProcessFile(string filename) { StreamReader reader = File.OpenText(filename); ProcessStream(reader); reader.Close(); }