<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def record_event(self, event):
 """Records the ``KindleEvent`` `event` in the store """

        with open(self._path, 'a') as file_:
            file_.write(str(event) + '\n')