If any lien or pledge sought to be foreclosed under this chapter is not duly on file or of record in the office of the register of deeds of the county in which the foreclosure is to be conducted, the person desiring to foreclose such lien must first file in the office of such register of deeds a sworn statement of the lien as required in Title 44 for giving notice of lien claims.
SDCL 21-54-4