Extracting the text from the rtf file