Better method for finding full path of config.json