Queries have to be parsed from files.

File contains query in first line and supposed results in next lines.