diff --git a/harextract.html b/harextract.html
index 6dfd27a..088dd30 100644
--- a/harextract.html
+++ b/harextract.html
@@ -183,6 +183,9 @@
console.log(`harextract: skipped ${harent.name} (${id}): ${harent.error}`);
skipped.push(harent);
} else {
+ if ('' == harent.name){
+ harent.name = 'unnamed file';
+ }
commonpath = fullpath.slice(0, [...fullpath,null].findIndex((p, n) => p !== (commonpath||fullpath)[n])); // ;)
harents.push(harent); // note: we can now guarantee that if harents has items, commonpath is set.
}