Added utf-8 encoding as this was raising an exception