filereceiver will now clear the qbytearray at the end when data has fully arrived