You can load the document if it is saved as RTF format, with LoadFile method.
You are writing a plain text file, and that LoadFile version expects a rtf file. You have to make up your mind which format you want to use. For example to save a rtf file you can use the SaveFile method. Both SaveFile/LoadFile methods also allows you to specify what format to use with the fileType parameter.