add read reg file