code: def stop_move_recorder(self, move_name):
          
          recorder = getattr(self.robot, '_{}_recorder'.format(move_name))
          recorder.stop()
          with open('{}.record'.format(move_name), 'w') as f:
              recorder.move.save(f)
  
          # Stop player if running : to discuss
          # Recording a playing move can produce strange outputs, but could be a good feature
          try:
              player = getattr(self.robot, '_{}_player'.format(move_name))
              if player.running:
                  player.stop()
          except AttributeError:
              pass
docs: Allow more easily than stop_primitive() to save in a filename the recorded move