wrote doc2txt