creating file to check the charset