TransactionFileReader(String filename)
  {
    try {
      reader = new BufferedReader(new FileReader(filename));
    } catch (IOException ioe) {
      System.err.println("Input file not found.");
      System.exit(1);
    }
  }