export file supports different docs types