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

public class Timetable
{
    public static String SEPARATOR = ",";

    public Timetable (String fileName, boolean debug)
    {
        _buses = new Vector<Bus>();
        _debug = debug;
    }

    private void loadData (String fileName)
    {
        /*
         * Open the data file and read it in.
         */

        BufferedReader reader = null;
        Vector<Command> values = new Vector<Command>();

        try
        {
            reader = new BufferedReader(new FileReader(inputFile));
            String line = null;

            while ((line = reader.readLine()) != null)
            {
                String[] busData = line.split(SEPARATOR);
            }
        }
        catch (Throwable ex)
        {
            ex.printStackTrace();
        }
        finally
        {
            try
            {
                reader.close();
            }
            catch (Throwable ex)
            {
            }
        }
    }

    private Vector<Bus> _buses;
    private boolean _debug;
}
@@ -219,16 +219,45 @@
 = debug;
+%0A%0A        loadData(fileName);
 %0A    %7D%0A%0A
@@ -290,23 +290,24 @@
 (String 
-fileNam
+inputFil
 e)%0A    %7B
@@ -418,64 +418,8 @@
 ull;
-%0A        Vector%3CCommand%3E values = new Vector%3CCommand%3E();
 %0A%0A  
@@ -665,16 +665,306 @@
 ARATOR);
+%0A%0A                for (int i = 0; i %3C busData.length; i++)%0A                %7B%0A                    Bus bs = new Bus(Integer.parseInt(busData%5Bi%5D));%0A%0A                    if (_debug)%0A                        System.out.println(%22Loaded %22+bs);%0A%0A                    _buses.add(bs);%0A                %7D
 %0A       

Update Timetable.java