From the time of filing such lien upon any such mare or cow the lienor shall have the right to hold the same on such mare or cow and its offspring for a period of twelve months from and after the birth of such offspring; but if such lien shall not be foreclosed within that time the same shall expire and be of no force or effect.