simple templating of files with bash