diff --git a/HashingCmd/Program.cs b/HashingCmd/Program.cs
index d76254fff24bcdaf45b6b388eb9fce14bfcb6c2c..0f9c33b648d2e5de2365dae3d118b4d93bcd66b5 100644
--- a/HashingCmd/Program.cs
+++ b/HashingCmd/Program.cs
@@ -116,10 +116,15 @@ hashingcmd.exe
 				if (key.KeyChar == 'n') {
 					return;
 				}
-				WriteLine("overwriting file " + Path.GetFileNameWithoutExtension(filename) + "_hashed.xml");
+				WriteLine("overwriting file " + Path.GetFileName(destination));
+			} else {
+				WriteLine("creating file " + Path.GetFileName(destination));
 			}
 			var result = h.AddHash();
-			var writer = new XmlTextWriter(destination, Encoding.UTF8);
+			var writer = new XmlTextWriter(destination, Encoding.UTF8) {
+				Formatting = Formatting.Indented,
+				Indentation = 4
+			};
 			result.WriteTo(writer);
 			writer.Flush();
 			writer.Close();