Fix data file validation bug.