Read config from a specified dir