making the regestration file