Generates the files using ERB