merged FileRole and ScratchRole into PathRole