write

fun write(filePath: Path, detektion: Detektion)

Renders result and writes it to the given filePath.