The president said he was surprised when lawyers discovered the documents and will cooperate with a review.