get configs from configsDir