Ported code to Java 7 and implemented line readers
Added unit test for single-use iterable