Upon books, papers or property being brought before such officer by virtue of such warrant, he shall inquire and examine whether the same appertained to the office vacated, in which case he shall cause such books, papers and property to be delivered to the plaintiff.