He or she shall also, before entering upon the duties of his or her office, take and subscribe the oath or affirmation prescribed by Section 3 of Article XIII of the Constitution, which shall be filed in the office of the county clerk of his or her county.