Searching config file walking up directory tree