Basic read and write of RTF (sample program)