Prepare R.txt (still need to convert the java into what is supposed to be in txt)