fill R files and rename