class VirtualDirTgz extends VirtualDir {

    @Override
    public String[] listAllFiles() throws IOException {
        final TarInputStream tis = getTarInputStream();

        TarEntry entry;
        List<String> entryNames = new ArrayList<>();
        while ((entry = tis.getNextEntry()) != null) {
            if (!entry.isDirectory()) {
                entryNames.add(entry.getName());
            }
        }
        return entryNames.toArray(new String[entryNames.size()]);
    }

    public  VirtualDirTgz(File tgz);

}