progress every 10k and echo filename