Added UTF-8 encoding when reading files