add reg file