New Document to Text method