start iteration after given filename, and limit iteration