check files for query test