def METHOD_NAME(self, device):
    """
    Creates output queues for VideoEncoder nodes created in :code:`create_encoders` function. Also, opems up
    the H.264 / H.265 stream files (e.g. :code:`color.h265`) where the encoded data will be stored.
    Args:
        device (depthai.Device): Running device instance
    """
    self._encodingQueues.clear()
    self._encodingFiles.clear()
    for cameraName, node in self._encodingNodes.items():
        self._encodingQueues[cameraName] = device.getOutputQueue(cameraName + "EncXout", maxSize=30, blocking=True)
        suffix = ".h265" if node.getProfile() == dai.VideoEncoderProperties.Profile.H265_MAIN else ".h264"
        self._encodingFiles[cameraName] = (self.encodeOutput / cameraName).with_suffix(suffix).open('wb')