Move config file path logic to separate method