Add ability to read queries from given file