tarOutStream.putNextEntry(tarEntry);
while((bytes_read = inStream.read(buffer)) != -1) {
tarOutStream.write(buffer,0,bytes_read);
}
tarOutStream.closeEntry();
inStream.close();
// Restart the wait period (so if the time to send a single
// file is too long the processor is killed).
super.processorSyncFlag.restartWaitUntilFalse();