implement query plan config file loading