added .doc support. fixes #2