reworking to let user specify from a set of known formats rather than edit own templates