Split document in multiple documents