SD library and UDP Client (problem sending data)

       udpClient.writeDatagram(myByte, myFile.size());

I don't understand what you are attempting here. You want to write one byte for the length of the entire file?