Index: trunk/ppStats/src/ppStatsStandAlone.c
===================================================================
--- trunk/ppStats/src/ppStatsStandAlone.c	(revision 11486)
+++ trunk/ppStats/src/ppStatsStandAlone.c	(revision 12354)
@@ -43,5 +43,5 @@
             if (!outFile) {
                 psLogMsg("ppStats", PS_LOG_ERROR, "Unable to open output file %s\n", outName);
-		// XXX this could be a system or config error, but not a data error
+                // XXX this could be a system or config error, but not a data error
                 status = PS_EXIT_CONFIG_ERROR;
                 goto die;
@@ -61,4 +61,9 @@
         status = PS_EXIT_DATA_ERROR;
         goto die;
+    }
+
+    if (data->fileLevel) {
+        const char *level = pmFPALevelToName(pmFPAPHULevel(config->format)); // Level for file
+        psMetadataAddStr(results, PS_LIST_HEAD, "FILE.LEVEL", 0, "File level", level);
     }
 
@@ -83,5 +88,5 @@
 die:
     if (status) {
-	psErrorStackPrint (stderr, "failure in %s", __func__);
+        psErrorStackPrint (stderr, "failure in %s", __func__);
     }
     psFree(data);
