add utility function string-to-file
add mustache process functions