add main diary file