Error when at end of file
Error when at end of file

Added an assert statement so that a meaningful error message is returned if a user tries to read beyond the end of the file.

Or would it be better to return None in this case?
IQuOD/wodpy,BillMills/wodpy