File transmition works, wait for ACK does not yet