Every clerk shall have charge of the courthouse within his county, open the same when required for public use and at all other times keep it closed. For every night any courthouse shall be kept open the clerk shall be liable to a penalty of five dollars for the use of the county, to be recovered by indictment.
S.C. Code § 14-17-210