Invalid file now reported correctly