diff --git a/Code/src/main.cpp b/Code/src/main.cpp
index 903ee1b9..a06e025a 100644
--- a/Code/src/main.cpp
+++ b/Code/src/main.cpp
@@ -1328,7 +1328,9 @@ void handleDir()
while (root.next())
{
// Serial.println(root.fileName());
- mydir += F("" + root.fileName() + "";
+ String href = root.fileName();
+ if (href.endsWith(".gz")) href.remove(href.length()-3);
+ mydir += F("" + root.fileName() + "";
mydir += F(" Size: ") + String(root.fileSize()) + F(" Bytes ");
mydir += F(" remove
");
}