use utf8 encoding for file path when openning the file