Add option to handle raw .doc files