added dumpTextToFile and loadTextFromFile
use the new helper methods to dump/load text
splitting Query into SQLQuery and MongoQuery, execution deferred to IQueryExecutor