This is one of the very large number of ways that a file might contain invalid data. Be sure you test for the different possibilities.