create history.json when empty