Split R code into multiple files