class FileReader implements Serializable {

  public String nextLine() {
    if (index >= limit) {
	    index = 0;
	  }
    String line = contents.get(index);
    index++;
    return line;
  }

  public  FileReader(String file);

}