Improved validation of v1 files