static L ai_loadWebsFromFile(File f, S src) { new L webs; ai_loadWebsFromFile(f, src, webs); ret webs; } static void ai_loadWebsFromFile(File f, S src, L websOut) { ai_loadWebsFromFile(f, src, websOut, null); } static void ai_loadWebsFromFile(File f, S src, L websOut, Map furtherInfoMap) { //if (hasMultipleCores()) ai_loadWebsFromFile_parallel(f, src, websOut, furtherInfoMap); IterableIterator l = scanLog_unstructure_iterator(f); // TODO: clean up file handle in case of error for (SoftwareMadeWeb o : l) pcall { Web web = o.web; if (web == null) web = web_unstructure(o.structure); if (web != null) { websOut.add(web_intern(web_setSourceIfEmpty(web, src))); mapPut(furtherInfoMap, web, o); } } }