diff --git a/src/velociraptor_interface.c b/src/velociraptor_interface.c
index 47c107d047e3abfcac32571f780cf52649a9c38d..07fceb409fc929245f6d7da4a930317ef2e2de3c 100644
--- a/src/velociraptor_interface.c
+++ b/src/velociraptor_interface.c
@@ -518,14 +518,8 @@ void velociraptor_invoke(struct engine *e, const int linked_with_snap) {
   char outputFileName[PARSER_MAX_LINE_SIZE + 128];
 
   /* What should the filename be? */
-  if (linked_with_snap) {
-    snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128,
-             "stf_%s_%04i.VELOCIraptor", e->snapshot_base_name,
-             e->snapshot_output_count);
-  } else {
-    snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128, "%s_%04i.VELOCIraptor",
-             e->stf_base_name, e->stf_output_count);
-  }
+  snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128, "%s_%04i.VELOCIraptor",
+           e->stf_base_name, e->stf_output_count);
 
   /* What is the snapshot number? */
   int snapnum;