The problem with textedit->setDocument is that it overwrites the current text in the text edit so I can't view multiple files at one time