some more advanced search for config file