We are collecting the sensor data with a variable from the rev pi/ raspberry pi which is the input node. we are trying to add the data to a file node, but we do not know how to loop it, the data just gets appended to the file and the flow goes through to the last node which is the node that sends the data over to the cloud. we dont understand how we can append 10 readings to the file as a batch and only then send that batch over to the cloud. when we try to work our logic with a function it only processes one reading.