A flat-file CMS