public class Scanner
{
    public static void main (String[] args)
    {
        boolean verify = false;
        boolean debug = false;

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

            if ("-debug".equals(args[i]))
                debug = true;

            if ("-verify".equals(args[i]))
                verify = true;
        }

        if (verify)
        {
            Verifier v = new Verifier(debug);

            if (v.verify())
                System.out.println("Verified ok.");
            else
                System.out.println("Verify failed!");

            System.exit(0);
        }
    }
}
@@ -1,26 +1,122 @@
-public class Scanner%0A%7B
+import java.util.*;%0Aimport java.io.*;%0A%0Apublic class Scanner%0A%7B%0A    public static final String DATA_FILE = %22input.txt%22;%0A
 %0A   
@@ -881,16 +881,822 @@
        %7D
+%0A%0A        /*%0A         * Open the data file and read it in.%0A         */%0A%0A        BufferedReader reader = null;%0A        Vector%3CBarcode%3E values = new Vector%3CBarcode%3E();%0A%0A        try%0A        %7B%0A            reader = new BufferedReader(new FileReader(DATA_FILE));%0A            String line = null;%0A%0A            while ((line = reader.readLine()) != null)%0A            %7B%0A                Barcode b = new Barcode(line, debug);%0A%0A                if (debug)%0A                    System.out.println(%22Loaded: %22+b);%0A%0A                values.add(b);%0A            %7D%0A        %7D%0A        catch (Throwable ex)%0A        %7B%0A            ex.printStackTrace();%0A        %7D%0A        finally%0A        %7B%0A            try%0A            %7B%0A                reader.close();%0A            %7D%0A            catch (Throwable ex)%0A            %7B%0A            %7D%0A        %7D
 %0A    %7D%0A%7D

Update Scanner.java