Edit character in different file formats