sample file generator + testIterators