adding config option for queryfile location