file transfer chunks using byte array