Added `encoding='UTF-8'` to `open()` call