rename .r to .rm