code to parse config file in R is added.