Pinging and file handshake now works correctly