adding encoding='UTF-8' to open requests for config files