Reading correct config file