public class ReportRepair
{
    public static final int TOTAL_TO_FIND = 2020;
    public static final String DATA_FILE = "input.txt";
    
    public static void main (String[] args)
    {
        int number = TOTAL_TO_FIND;

        for (int i = 0; i < args.length; i++)
        {
            if ("-help".equals(args[i]))
            {
                System.out.println("Usage: [-total <number>] [-help]");
                System.exit(0);
            }

            if ("-total".equals(args[i]))
            {
                try
                {
                    number = Integer.parseInt(args[i+1]);
                }
                catch (Exception ex)
                {
                    System.err.println("Error parsing: "+args[i+1]);
                    System.exit(0);
                }
            }
        }
    }
}
@@ -1,12 +1,33 @@
+import java.util.*;%0A%0A
 public class
@@ -148,20 +148,16 @@
 t.txt%22;%0A
-    
 %0A    pub
@@ -833,20 +833,139 @@
  %7D%0A        %7D
+%0A%0A        Vector%3CInteger%3E values = Util.readValues(DATA_FILE);%0A        Total finder = new Total(TOTAL_TO_FIND, values);
 %0A    %7D%0A%7D

Update ReportRepair.java