handle rt files