Adding R code to generate the RF regression files