Index: /trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDparseDirHTML.java
===================================================================
--- /trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDparseDirHTML.java	(revision 1219)
+++ /trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDparseDirHTML.java	(revision 1220)
@@ -69,19 +69,5 @@
         HTMLLogParser parser = new HTMLLogParser();
 
-        String absolutPath = folder.getAbsolutePath();
-        String[] files = folder.list();
-        Arrays.sort(files);
-        
-        for (String filename : files) {
-            String source = absolutPath + File.separator + filename;
-            Console.traceln(Level.INFO, "Processing file: " + source);
-
-            try {
-                parser.parseFile(source);
-            }
-            catch (Exception e) {
-                Console.printerrln("Could not parse " + source + ": " + e.getMessage());
-            }
-        }
+        parseFile(folder, parser);
 
         Collection<List<Event>> sequences = parser.getSequences();
@@ -98,4 +84,36 @@
     }
 
+    /**
+     * <p>
+     * recursive method for parsing a directory structures
+     * </p>
+     *
+     * @param file   the file object to be parsed. If the file is a folder, the method calls itself
+     *               for all children
+     * @param parser the parser to use for parsing the files.
+     */
+    private void parseFile(File file, HTMLLogParser parser) {
+        if (file.isDirectory()) {
+            String[] children = file.list();
+            Arrays.sort(children);
+            
+            for (String child : children) {
+                File childFile = new File(file, child);
+                parseFile(childFile, parser);
+            }
+        }
+        else if (file.isFile()) {
+            String source = file.getAbsolutePath();
+            Console.traceln(Level.INFO, "Processing file: " + source);
+
+            try {
+                parser.parseFile(file);
+            }
+            catch (Exception e) {
+                Console.printerrln("Could not parse " + source + ": " + e.getMessage());
+            }
+        }
+    }
+
     /*
      * (non-Javadoc)
