Adding document type file/text see BT#6702