First implementation of the query data file.