The county commissioners shall make ample arrangements for the guarding, feeding, clothing, shelter and medical attention for all prisoners they may employ under the authority of this act,and the necessary expenses of the same shall be paid out of the taxes collected for general county purposes.