Create constants and replace them in given textfiles