Create template: R from filename/sandbox