building command line utility to parse static template file