rafile and other stuff