<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_journal(self, journal_file_path):
 """Write the constructed journal in to the provided file. Args: journal_file_path (str):
 full path to output journal file """

        # TODO: assert the extension is txt and not other
        with open(journal_file_path, "w") as jrn_file:
            jrn_file.write(self._journal_contents)