Iterator. Will add new_iterator. When loadfiled, iterator returns a function, that when invoked returns the next element in a table. To be expanded.