import java.io.*;
import java.util.*;

public class Dealer
{
    public Dealer(String commandFile, boolean debug)
    {
        _commands = new Vector<String>();
        _debug = debug;
        
        readCommands(commandFile);
    }

    public boolean dealCards ()
    {
        return false;
    }

    private final void readCommands(String inputFile)
    {
        /*
         * Open the data file and read it in.
         */

        BufferedReader reader = null;

        try
        {       
            reader = new BufferedReader(new FileReader(inputFile));
            String line = null;
            
            do
            {
                line = reader.readLine();
                
                if (_debug)
                    System.out.println("Read command: " + line);

                if (line != null)
                    _commands.add(line);
            }
            while (line != null);
        }
        catch (Throwable ex)
        {
            ex.printStackTrace();
        }
        finally
        {
            try
            {
                reader.close();
            }
            catch (Throwable ex)
            {
            }
        }
    }

    private Vector<String> _commands;
    private boolean _debug;
}
@@ -260,23 +260,872 @@
 lCards (
-)%0A    %7B
+int sizeOfDeck)%0A    %7B%0A        Deck theDeck = new Deck(sizeOfDeck, _debug);%0A        Enumeration%3CString%3E iter = _commands.elements();%0A%0A        while (iter.hasMoreElements())%0A        %7B%0A            String command = iter.nextElement();%0A%0A            if (command.startsWith(Commands.CUT))%0A                cut(command, theDeck);%0A            else%0A            %7B%0A                if (command.startsWith(Commands.DEAL_INTO))%0A                    dealInto(command, theDeck);%0A                else%0A                %7B%0A                    if (command.startsWith(Commands.DEAL_WITH_INCREMENT))%0A                        dealWithIncrement(command, theDeck);%0A                    else%0A                    %7B%0A                        System.out.println(%22Unknown command: %22+command);%0A%0A                        return false;%0A                    %7D%0A                %7D%0A            %7D%0A        %7D
 %0A       

Update Dealer.java