Extended chat example so the user can send a file in an byte array.