They took the documents under the pretext that Trump took classified documents from the WH, which everyone knows that Trump declassified them all when he left. It was nothing but a fishing expedition to see if there is something among the 20 boxes of documents that might be used against him.
I'll bet those were the basis for the warrant.