add regiter file and profile file