adding reg file