public TextFileIterator() {
			// Open the file and read and remember the first line.
			// We peek ahead like this for the benefit of hasNext().
			try {
				in = new BufferedReader(new FileReader(filename));
				nextline = in.readLine();
			} catch (IOException e) {
				throw new IllegalArgumentException(e);
			}
		}