Replace sample output rtf by txt