Add key, and update file.