I believe this `if` should be inside the `while` as it checks whether the line informs of missing data.