optionsBuilder.attributes(attributesBuilder.get());
if (sourceDocumentName == null) {
for (final File f : scanSourceFiles()) {
setDestinationPaths(optionsBuilder, f);
renderFile(asciidoctorInstance, optionsBuilder.asMap(), f);
}
} else {
File sourceFile = new File(sourceDirectory, sourceDocumentName);
setDestinationPaths(optionsBuilder, sourceFile);
renderFile(asciidoctorInstance, optionsBuilder.asMap(), sourceFile);