Section 24. Any county officer or department may, with the approval of the county commissioners, accept any grant from the federal government for the use or benefit of the county or any activity, institution or board. The county treasurer shall be the custodian of such grant, which shall be held as a separate account and expended for the purposes of such grant.