removing old ref file