added couple of logs in case of registration file/IO error