init file in register