thank @andrewgaul, something like the following, makes sense?
```
      for (File file : files) {
         TarArchiveEntry tarEntry = new TarArchiveEntry(file);
         tarEntry.setName("/" + getLast(Splitter.on(token).split(file.toString())));
         tos.putArchiveEntry(tarEntry);
         if (!file.isDirectory()) {
            Files.asByteSource(file).copyTo(tos);
            tos.closeArchiveEntry();
         }
         tos.close();
      }
```