Header lines are now properly detected and skipped.