@@ -0,0 +1,680 @@
+from core.investigation import ImportMethod%0A%0A%0Aclass ImportText(ImportMethod):%0A%0A    def do_import(self, results, filepath):%0A        with open(filepath, 'r') as f:%0A            content = f.read()%0A%0A        results.investigation.update(import_text=%22%60%60%60%5Cn%7B%7D%5Cn%60%60%60%22.format(content))%0A%0A%0Aclass ImportTextPlain(ImportText):%0A%0A    default_values = %7B%0A        %22name%22: %22import_text%22,%0A        %22description%22: %22Perform investigation import from a text document.%22,%0A        %22acts_on%22: %22text/plain%22%0A    %7D%0A%0A%0Aclass ImportXML(ImportText):%0A%0A    default_values = %7B%0A        %22name%22: %22import_xml%22,%0A        %22description%22: %22Perform investigation import from an XML document.%22,%0A        %22acts_on%22: %22text/xml%22%0A    %7D%0A

add text import methods