langchain/memory/chat_message_histories/file.py/FileChatMessageHistory/clear
class FileChatMessageHistory:    def clear(self) -> None:
        """Clear session memory from the local file"""
        self.file_path.write_text(json.dumps([]))