work on doc file parser