Nicer error message when parsing files.