Check idx file