as a note, it will be in the genesis3d (rf's engine) code, not the rf code. in addition, if searching the code for the file extensions dosent turn much up, searching for mot and bsp without the period would likely work better.
EDIT: unless you wanted to know how rf itself gets the data from g3d and uses it, in which case search the rf code.