open my $fh, '<:encoding(UTF-8)', $temp or die "Cannot open $temp $!";