@@ -0,0 +1,793 @@
+import java.io.File;%0Aimport java.io.BufferedReader;%0Aimport java.util.ArrayList;%0A%0Apublic class Engineering %7B%0A%09public static void main(String%5B%5D args) %7B%0A%09%09if (args.length %3C 1) %7B%0A%09%09%09System.err.println(%22A file must be supplied.%22);%0A%09%09%09System.exit(1);%0A%09%09%09return;%0A%09%09%7D%0A%09%09ArrayList%3CStudent%3E records;%0A%09%09try %7B%0A%09%09%09records = readRecords(file);%0A%09%09%7D catch (IOExeption ex) %7B%0A%09%09%09System.err.println(%22Error reading file: %22 + file);%0A%09%09%09System.exit(1);%0A%09%09%09return;%0A%09%09%7D%0A%09%7D%0A%0A%09private static ArrayList%3CStudent%3E readRecords(File file) %7B%0A%09%09ArrayList%3CStudent%3E records;%0A%09%09try (BufferedReader reader = new BufferedReader(new FileReader(file))) %7B%0A%09%09%09for (String line = reader.readLine(); // Forget first line.%0A%09%09%09     (line = reader.readLine()) != null;) %7B%0A%09%09%09%09records.add(new Student(line));%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return records;%0A%09%7D%0A%7D%0A

Add "Engineering" class