def read_file(filename)
      contents = ''
      File.open(filename, "r") do |infile|
        while (line = infile.gets)
          @games << ScheduleGame.new(line)
        end
      end
    end
def read_file(filename)
      contents = ''
      File.open(filename, "r") do |infile|
        while (line = infile.gets)
          @games << ScheduleGame.new(line)
        end
      end
    end
Reads the data from a schedule file
 Each line in the schedule file represents a single game.
 here is a sample of what a single line in the file looks like:
    "20090405","0","Sun","ATL","NL",1,"PHI","NL",1,"n","",""
  this is interpreted as:
     date, 0, day, visiting team, visiting league, visiting game number, home team, home league, home game number, day or night (d or n), "", ""