add query plugin file