unpacking of doc/docx/pdf/rtf