added some R code to read files. Having been running Rattle.