/// file_iterator implementation file_iterator::file_iterator(file &ref) : f(ref), curr(ref.readline()), position(ref.tell()) { }