small module to replace template values in a file