utils: File: Save one useless loop iteration on EOF

3 jobs for master in 29 minutes and 3 seconds (queued for 3 seconds)