process order written to rootdoc.txt