Handshake, read from file