All contracts made by the owner of any animals, including horses, cattle, sheep and goats, with any other person, for the herding or caring for the same, for pay or on shares, or in any other manner except by absolute purchase, shall be filed in the office of the county clerk of the county or counties wherein said horses, cattle, sheep or goats are located or about to be removed.