Added retrieval queries in a file