Every such instrument in writing, certified and recorded in the manner hereinbefore prescribed, shall, from the time of filing the same with the register of deeds for record, impart notice to all persons of the contents thereof; and all subsequent purchasers and mortgagees shall be deemed to purchase with notice.
K.S.A. 58-2222