Clearer error message in dat file reader when the file size is incorrect.