FIX OptionsParse
Support for office,pdf documents