changes in query engine

1. remove method getQueryOutputLocation in IQueryEngine
2. store file output in result