change fileType code to utf-8