class SourcesExporter {

    public void removeUnreferencedFiles(Collection<ReleaseWithSources> releases) {
        RemoveUnreferencedFilesVisitor visitor = new RemoveUnreferencedFilesVisitor(releases);
        try {
            Files.walkFileTree(sourcePath, visitor);
        } catch (IOException e) {
            LOG.error("Could not traverse sources directory {}", sourcePath, e);
        }
    }

    public  SourcesExporter(Path sourcePath);

}