Index: /trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/HTTPLogParser.java
===================================================================
--- /trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/HTTPLogParser.java	(revision 1439)
+++ /trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/HTTPLogParser.java	(revision 1440)
@@ -17,4 +17,6 @@
 import java.io.ByteArrayInputStream;
 import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
 import java.io.InputStream;
 import java.util.Collection;
@@ -101,8 +103,32 @@
         }
         
+        try {
+			parseFile(new FileInputStream(file));
+		} catch (FileNotFoundException e) {
+			Console.printerr("Error parsing file + " + file.getName());
+            Console.logException(e);
+            return;
+		}
+    }
+    
+    /**
+     * <p>
+     * Parses a log file written by the HTTPMonitor and creates a collection of event sequences.
+     * </p>
+     * 
+     * @param stream
+     *            file to be parsed
+     *
+     * @throws SAXException in the case, the file could not be parsed
+     */
+    public void parseFile(InputStream stream) throws JAXBException {
+        if (stream == null) {
+            throw new IllegalArgumentException("stream must not be null");
+        }
+        
         JAXBContext jc = JAXBContext.newInstance(Session.class.getPackage().getName());
         
         Unmarshaller unmarshaller = jc.createUnmarshaller();
-        StreamSource source = new StreamSource(file);
+        StreamSource source = new StreamSource(stream);
         
         @SuppressWarnings("unchecked")
