Update the code to display unique text and not to store unmapped text to the file