better sequence file iterator