extract from tibetdoc file format