load config file from different locations, including phar