build generic flat-file export class and apply to epi-meta analysis