def load(self, path):
        """
        Loads experience from a file

        :param path: the path to load the experience from
        :return: nothing
        """

        if not path:
            print('WARNING! Dialogue Episode Recorder: No Log file provided '
                  'to load from.')

        if self.dialogues:
            print('WARNING! Dialogue Episode Recorder is not empty! Loading '
                  'on top of existing experience.')

        if isinstance(path, str):
            if os.path.isfile(path):
                print(f'Dialogue Episode Recorder loading dialogues from '
                      f'{path}...')

                with open(path, 'rb') as file:
                    obj = pickle.load(file)

                    if 'dialogues' in obj:
                        self.dialogues = obj['dialogues']

                    print('Dialogue Episode Recorder loaded from {0}.'
                          .format(path))

            else:
                print('Warning! Dialogue Episode Recorder Log file %s not '
                      'found' % path)
        else:
            print('Warning! Unacceptable value for Dialogue Episode Recorder '
                  'Log file name: %s ' % path)

        Loads experience from a file

        :param path: the path to load the experience from
        :return: nothing
        
plato/utilities/dialogue_episode_recorder.py