From fef351f1fd3cb2fdef62e5e7d1590d6dd2ad7907 Mon Sep 17 00:00:00 2001
From: Luis Salamanca <luis.salamanca@sdsc.ethz.ch>
Date: Mon, 27 May 2019 11:13:34 +0200
Subject: [PATCH] Flag_tar and flag_type

---
 notebooks/PreprocOtherFiles.ipynb | 2317 +++++++++++++++++++++++++++++
 src/python/def_classes.py         |   15 +-
 src/python/utils_proc.py          |    2 +-
 3 files changed, 2327 insertions(+), 7 deletions(-)
 create mode 100644 notebooks/PreprocOtherFiles.ipynb

diff --git a/notebooks/PreprocOtherFiles.ipynb b/notebooks/PreprocOtherFiles.ipynb
new file mode 100644
index 00000000..15beb58f
--- /dev/null
+++ b/notebooks/PreprocOtherFiles.ipynb
@@ -0,0 +1,2317 @@
+{
+ "cells": [
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "## Preprocessing of summary of sessions and additional protocols\n",
+    "In this notebook I will just compile a few preprocessings that need to be done on these files, but only once, thus, they won't be included in the def_class. Still, some of the processes are based on code already implemented in the class, such as the one for the correction of the metadata"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 118,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "The autoreload extension is already loaded. To reload it, use:\n",
+      "  %reload_ext autoreload\n"
+     ]
+    }
+   ],
+   "source": [
+    "%load_ext autoreload\n",
+    "%autoreload 2\n",
+    "\n",
+    "import os, sys\n",
+    "\n",
+    "sys.path.append('../src/python/')\n",
+    "\n",
+    "import def_classes as defc\n",
+    "import numpy as np\n",
+    "from pdf2image import convert_from_path, convert_from_bytes\n",
+    "import utils_proc\n",
+    "import xml.etree.ElementTree as ET\n",
+    "import re\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 46,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "def correct_metadata(XML_root, name_out, page = -1, default_xml = 'default_meta.xml'):\n",
+    "    \n",
+    "    keywords = ('In','Jahr','Band','Session','Rat','Sitzung','Geschäftsnummer',\n",
+    "                'Datum','Seite','Ref. No')\n",
+    "    max_sep = 6 # Just a parameter to capture the textlines from the db file\n",
+    "    \n",
+    "    coord_textline = np.array([]).reshape((6,0))\n",
+    "    all_text_list = list()\n",
+    "    for ind_el in range(len(XML_root[page])):\n",
+    "        for ind_line in range(len(XML_root[page][ind_el])):\n",
+    "            if XML_root[page][ind_el][ind_line].tag == 'textline':\n",
+    "                coord_textline_aux = np.array(XML_root[page][ind_el][ind_line].attrib['bbox'].split(',')).astype(np.float64)\n",
+    "                coord_textline_aux = np.concatenate((coord_textline_aux, np.array([ind_el,ind_line])))\n",
+    "                coord_textline = np.concatenate((coord_textline, np.array(coord_textline_aux).reshape((6,1))), axis = 1)\n",
+    "                text_str = ''\n",
+    "                aux_str = text_str.join([XML_root[page][ind_el][ind_line][ind_t].text for ind_t in range(len(XML_root[page][ind_el][ind_line]))])\n",
+    "                all_text_list.append(aux_str)\n",
+    "                \n",
+    "    xml_extrameta = ET.Element('META_FROM_DB')\n",
+    "    for keyw in keywords:\n",
+    "        #print(keyw)\n",
+    "        if len(np.argwhere(np.array([all_text_list]) == keyw + '\\n')):\n",
+    "            ind_textl = np.min(np.argwhere(np.array([all_text_list]) == keyw + '\\n')[:,1])\n",
+    "            coord_r = coord_textline[1,ind_textl]\n",
+    "            distance = abs(coord_textline[1,:] - coord_r)\n",
+    "            ind_valtextl = np.setdiff1d(np.argwhere(distance < max_sep),ind_textl)[0]\n",
+    "            if ind_valtextl.size:\n",
+    "                xml_extrameta.attrib[keyw.replace('. ','').upper()] = all_text_list[ind_valtextl][:-1]\n",
+    "            else:\n",
+    "                xml_extrameta.attrib[keyw.replace('. ','').upper()] = ''\n",
+    "            \n",
+    "    path_xml_meta = default_xml\n",
+    "    XML_tree_meta = ET.parse(path_xml_meta)\n",
+    "    XML_root_meta = XML_tree_meta.getroot()\n",
+    "    XML_root_meta.append(xml_extrameta)\n",
+    "    \n",
+    "    tree = ET.ElementTree(XML_root_meta)\n",
+    "    tree.write(name_out, encoding = 'utf-8')\n",
+    "   "
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 9,
+   "metadata": {
+    "scrolled": true
+   },
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "['110001031.pdf', '110000307.pdf', '110001019.pdf', '110000475.pdf', '110000887.pdf', '110001227.pdf', '110000139.pdf', '110001555.pdf', '110000663.pdf', '110000111.pdf', '110001435.pdf', '110000059.pdf', '110001347.pdf', '110000071.pdf', '110000703.pdf', '110001151.pdf', '110001623.pdf', '110000515.pdf', '110001179.pdf', '110000267.pdf', '110001187.pdf', '110000299.pdf', '110000919.pdf', '110000931.pdf', '110001391.pdf', '110000879.pdf', '110000851.pdf', '110001583.pdf', '110001595.pdf', '110000847.pdf', '110000927.pdf', '110001387.pdf', '110000099.pdf', '110001191.pdf', '110000271.pdf', '110000503.pdf', '110001635.pdf', '110000259.pdf', '110001147.pdf', '110000715.pdf', '110001379.pdf', '110000067.pdf', '110001351.pdf', '110001423.pdf', '110000107.pdf', '110001219.pdf', '110000675.pdf', '110001543.pdf', '110000891.pdf', '110001231.pdf', '110000463.pdf', '110000311.pdf', '110001027.pdf', '110000339.pdf', '110000315.pdf', '110000467.pdf', '110001023.pdf', '110000671.pdf', '110000103.pdf', '110001235.pdf', '110000895.pdf', '110000659.pdf', '110001547.pdf', '110000063.pdf', '110000711.pdf', '110001427.pdf', '110000739.pdf', '110001355.pdf', '110000507.pdf', '110001619.pdf', '.DS_Store', '110000275.pdf', '110001143.pdf', '110001631.pdf', '110001195.pdf', '110001383.pdf', '110000923.pdf', '110000843.pdf', '110001591.pdf', '110000499.pdf', '110001587.pdf', '110000699.pdf', '110000855.pdf', '110001395.pdf', '110000935.pdf', '110001183.pdf', '110001627.pdf', '110000539.pdf', '110001155.pdf', '110000263.pdf', '110000511.pdf', '110001343.pdf', '110001431.pdf', '110000707.pdf', '110001419.pdf', '110000075.pdf', '110001551.pdf', '110001223.pdf', '110000883.pdf', '110000115.pdf', '110001579.pdf', '110000667.pdf', '110001035.pdf', '110000459.pdf', '110000471.pdf', '110000303.pdf', '110001091.pdf', '110000199.pdf', '110001287.pdf', '110000827.pdf', '110001495.pdf', '110000947.pdf', '110001683.pdf', '110000563.pdf', '110000211.pdf', '110000239.pdf', '110001127.pdf', '110001655.pdf', '110001319.pdf', '110000007.pdf', '110000013.pdf', '110000775.pdf', '110001443.pdf', '110001331.pdf', '110000991.pdf', '110000615.pdf', '110000167.pdf', '110001279.pdf', '110001251.pdf', '110001523.pdf', '110000371.pdf', '110000403.pdf', '110001047.pdf', '110000359.pdf', '110001051.pdf', '110000415.pdf', '110000367.pdf', '110001079.pdf', '110001535.pdf', '110001247.pdf', '110000159.pdf', '110000171.pdf', '110000603.pdf', '110000039.pdf', '110001327.pdf', '110000987.pdf', '110001455.pdf', '110000005.pdf', '110000763.pdf', '110000011.pdf', '110001643.pdf', '110001131.pdf', '110001119.pdf', '110000207.pdf', '110000575.pdf', '110000979.pdf', '110000951.pdf', '110001483.pdf', '110000819.pdf', '110001291.pdf', '110000831.pdf', '110000399.pdf', '110001087.pdf', '110001083.pdf', '110000835.pdf', '110001295.pdf', '110000799.pdf', '110001487.pdf', '110000955.pdf', '110001135.pdf', '110001647.pdf', '110000559.pdf', '110000571.pdf', '110000203.pdf', '110000029.pdf', '110001451.pdf', '110000983.pdf', '110001323.pdf', '110000015.pdf', '110000767.pdf', '110001479.pdf', '110000001.pdf', '110001243.pdf', '110001531.pdf', '110001519.pdf', '110000607.pdf', '110000175.pdf', '110000439.pdf', '110001055.pdf', '110000363.pdf', '110000411.pdf', '110000407.pdf', '110000375.pdf', '110001043.pdf', '110000163.pdf', '110000611.pdf', '110000639.pdf', '110001527.pdf', '110001255.pdf', '110000771.pdf', '110000017.pdf', '110000003.pdf', '110000995.pdf', '110001335.pdf', '110001447.pdf', '110000759.pdf', '110000215.pdf', '110000567.pdf', '110001679.pdf', '110001651.pdf', '110001123.pdf', '110000599.pdf', '110000943.pdf', '110001491.pdf', '110000823.pdf', '110001283.pdf', '110001095.pdf', '110000379.pdf', '110001067.pdf', '110000423.pdf', '110000351.pdf', '110001503.pdf', '110001271.pdf', '110001259.pdf', '110000147.pdf', '110000635.pdf', '110001311.pdf', '110001463.pdf', '110000033.pdf', '110000755.pdf', '110000999.pdf', '110001339.pdf', '110001675.pdf', '110001107.pdf', '110000219.pdf', '110000231.pdf', '110000543.pdf', '110000595.pdf', '110000783.pdf', '110000967.pdf', '110000191.pdf', '110000807.pdf', '110000387.pdf', '110001099.pdf', '110000391.pdf', '110000811.pdf', '110000839.pdf', '110000187.pdf', '110001299.pdf', '110000971.pdf', '110000959.pdf', '110000795.pdf', '110000583.pdf', '110000555.pdf', '110000227.pdf', '110001139.pdf', '110001111.pdf', '110001663.pdf', '110000025.pdf', '110000743.pdf', '110001475.pdf', '110001307.pdf', '110000623.pdf', '110000151.pdf', '110000179.pdf', '110001267.pdf', '110001515.pdf', '110001059.pdf', '110000347.pdf', '110000435.pdf', '110001071.pdf', '110000431.pdf', '110000343.pdf', '110001075.pdf', '110000419.pdf', '110000155.pdf', '110000627.pdf', '110001539.pdf', '110001511.pdf', '110001263.pdf', '110001459.pdf', '110000747.pdf', '110000021.pdf', '110001303.pdf', '110000009.pdf', '110001471.pdf', '110000223.pdf', '110000551.pdf', '110000579.pdf', '110001667.pdf', '110001115.pdf', '110000587.pdf', '110000975.pdf', '110000791.pdf', '110000815.pdf', '110000183.pdf', '110000395.pdf', '110000383.pdf', '110000195.pdf', '110000803.pdf', '110000787.pdf', '110001499.pdf', '110000963.pdf', '110000591.pdf', '110000001_data.xml', '110001103.pdf', '110001671.pdf', '110001659.pdf', '110000547.pdf', '110000235.pdf', '110000779.pdf', '110001467.pdf', '110001315.pdf', '110000751.pdf', '110000037.pdf', '110001275.pdf', '110001507.pdf', '110000619.pdf', '110000631.pdf', '110000143.pdf', '110001063.pdf', '110000355.pdf', '110000427.pdf', '110000483.pdf', '110000871.pdf', '110000859.pdf', '110000695.pdf', '110000911.pdf', '110001399.pdf', '110000087.pdf', '110000939.pdf', '110000291.pdf', '110000247.pdf', '110001159.pdf', '110000535.pdf', '110001603.pdf', '110001171.pdf', '110000723.pdf', '110000051.pdf', '110001367.pdf', '110000079.pdf', '110001415.pdf', '110000131.pdf', '110000643.pdf', '110001575.pdf', '110000119.pdf', '110001207.pdf', '110000455.pdf', '110001039.pdf', '110000327.pdf', '110001011.pdf', '110000319.pdf', '110001007.pdf', '110000331.pdf', '110000443.pdf', '110001211.pdf', '110001563.pdf', '110000655.pdf', '110001239.pdf', '110000127.pdf', '110000899.pdf', '110001403.pdf', '110001371.pdf', '110000047.pdf', '110001359.pdf', '110000735.pdf', '110001167.pdf', '110000279.pdf', '110001615.pdf', '110000523.pdf', '110000251.pdf', '110001199.pdf', '110000287.pdf', '110000091.pdf', '110000907.pdf', '110000683.pdf', '110000867.pdf', '110000495.pdf', '110000491.pdf', '110001599.pdf', '110000687.pdf', '110000863.pdf', '110000095.pdf', '110000903.pdf', '110000283.pdf', '110001611.pdf', '110001163.pdf', '110000255.pdf', '110001639.pdf', '110000527.pdf', '110001375.pdf', '110000719.pdf', '110001407.pdf', '110000731.pdf', '110000043.pdf', '110001567.pdf', '110000679.pdf', '110001215.pdf', '110000123.pdf', '110000651.pdf', '110001003.pdf', '110000447.pdf', '110000335.pdf', '110000323.pdf', '110000451.pdf', '110000479.pdf', '110001015.pdf', '110000647.pdf', '110001559.pdf', '110000135.pdf', '110001203.pdf', '110001571.pdf', '110000055.pdf', '110001439.pdf', '110000727.pdf', '110001411.pdf', '110001363.pdf', '110000531.pdf', '110000243.pdf', '110001175.pdf', '110000519.pdf', '110001607.pdf', '110000295.pdf', '110000915.pdf', '110000083.pdf', '110000875.pdf', '110000691.pdf', '110000487.pdf']\n"
+     ]
+    }
+   ],
+   "source": [
+    "folder_database = '../../../Data/AB_other/SessionOverviews/'\n",
+    "print(os.listdir(folder_database))"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 63,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "110001031\n",
+      "110000307\n",
+      "110001019\n",
+      "110000475\n",
+      "110000887\n",
+      "110001227\n",
+      "110000139\n",
+      "110001555\n",
+      "110000663\n",
+      "110000111\n",
+      "110001435\n",
+      "110000059\n",
+      "110001347\n",
+      "110000071\n",
+      "110000703\n",
+      "110001151\n",
+      "110001623\n",
+      "110000515\n",
+      "110001179\n",
+      "110000267\n",
+      "110001187\n",
+      "110000299\n",
+      "110000919\n",
+      "110000931\n",
+      "110001391\n",
+      "110000879\n",
+      "110000851\n",
+      "110001583\n",
+      "110001595\n",
+      "110000847\n",
+      "110000927\n",
+      "110001387\n",
+      "110000099\n",
+      "110001191\n",
+      "110000271\n",
+      "110000503\n",
+      "110001635\n",
+      "110000259\n",
+      "110001147\n",
+      "110000715\n",
+      "110001379\n",
+      "110000067\n",
+      "110001351\n",
+      "110001423\n",
+      "110000107\n",
+      "110001219\n",
+      "110000675\n",
+      "110001543\n",
+      "110000891\n",
+      "110001231\n",
+      "110000463\n",
+      "110000311\n",
+      "110001027\n",
+      "110000339\n",
+      "110000315\n",
+      "110000467\n",
+      "110001023\n",
+      "110000671\n",
+      "110000103\n",
+      "110001235\n",
+      "110000895\n",
+      "110000659\n",
+      "110001547\n",
+      "110000063\n",
+      "110000711\n",
+      "110001427\n",
+      "110000739\n",
+      "110001355\n",
+      "110000507\n",
+      "110001619\n",
+      "110000275\n",
+      "110000275 ./110000275.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000275_data.xml'] [0] 1\n",
+      "110001143\n",
+      "110001143 ./110001143.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001143_data.xml'] [0] 1\n",
+      "110001631\n",
+      "110001631 ./110001631.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001631_data.xml'] [0] 1\n",
+      "110001195\n",
+      "110001195 ./110001195.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001195_data.xml'] [0] 1\n",
+      "110001383\n",
+      "110001383 ./110001383.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001383_data.xml'] [0] 1\n",
+      "110000923\n",
+      "110000923 ./110000923.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000923_data.xml'] [0] 1\n",
+      "110000843\n",
+      "110000843 ./110000843.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000843_data.xml'] [0] 1\n",
+      "110001591\n",
+      "110001591 ./110001591.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001591_data.xml'] [0] 1\n",
+      "110000499\n",
+      "110000499 ./110000499.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000499_data.xml'] [0] 1\n",
+      "110001587\n",
+      "110001587 ./110001587.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001587_data.xml'] [0] 1\n",
+      "110000699\n",
+      "110000699 ./110000699.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000699_data.xml'] [0] 1\n",
+      "110000855\n",
+      "110000855 ./110000855.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000855_data.xml'] [0] 1\n",
+      "110001395\n",
+      "110001395 ./110001395.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001395_data.xml'] [0] 1\n",
+      "110000935\n",
+      "110000935 ./110000935.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000935_data.xml'] [0] 1\n",
+      "110001183\n",
+      "110001183 ./110001183.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001183_data.xml'] [0] 1\n",
+      "110001627\n",
+      "110001627 ./110001627.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001627_data.xml'] [0] 1\n",
+      "110000539\n",
+      "110000539 ./110000539.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000539_data.xml'] [0] 1\n",
+      "110001155\n",
+      "110001155 ./110001155.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001155_data.xml'] [0] 1\n",
+      "110000263\n",
+      "110000263 ./110000263.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000263_data.xml'] [0] 1\n",
+      "110000511\n",
+      "110000511 ./110000511.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000511_data.xml'] [0] 1\n",
+      "110001343\n",
+      "110001343 ./110001343.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001343_data.xml'] [0] 1\n",
+      "110001431\n",
+      "110001431 ./110001431.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001431_data.xml'] [0] 1\n",
+      "110000707\n",
+      "110000707 ./110000707.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000707_data.xml'] [0] 1\n",
+      "110001419\n",
+      "110001419 ./110001419.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001419_data.xml'] [0] 1\n",
+      "110000075\n",
+      "110000075 ./110000075.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000075_data.xml'] [0] 1\n",
+      "110001551\n",
+      "110001551 ./110001551.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001551_data.xml'] [0] 1\n",
+      "110001223\n",
+      "110001223 ./110001223.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001223_data.xml'] [0] 1\n",
+      "110000883\n",
+      "110000883 ./110000883.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000883_data.xml'] [0] 1\n",
+      "110000115\n",
+      "110000115 ./110000115.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000115_data.xml'] [0] 1\n",
+      "110001579\n",
+      "110001579 ./110001579.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001579_data.xml'] [0] 1\n",
+      "110000667\n",
+      "110000667 ./110000667.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000667_data.xml'] [0] 1\n",
+      "110001035\n",
+      "110001035 ./110001035.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001035_data.xml'] [0] 1\n",
+      "110000459\n",
+      "110000459 ./110000459.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000459_data.xml'] [0] 1\n",
+      "110000471\n",
+      "110000471 ./110000471.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000471_data.xml'] [0] 1\n",
+      "110000303\n",
+      "110000303 ./110000303.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000303_data.xml'] [0] 1\n",
+      "110001091\n",
+      "110001091 ./110001091.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001091_data.xml'] [0] 1\n",
+      "110000199\n",
+      "110000199 ./110000199.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000199_data.xml'] [0] 1\n",
+      "110001287\n",
+      "110001287 ./110001287.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001287_data.xml'] [0] 1\n",
+      "110000827\n",
+      "110000827 ./110000827.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000827_data.xml'] [0] 1\n",
+      "110001495\n",
+      "110001495 ./110001495.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001495_data.xml'] [0] 1\n",
+      "110000947\n",
+      "110000947 ./110000947.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000947_data.xml'] [0] 1\n",
+      "110001683\n",
+      "110001683 ./110001683.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001683_data.xml'] [0] 1\n",
+      "110000563\n",
+      "110000563 ./110000563.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000563_data.xml'] [0] 1\n",
+      "110000211\n",
+      "110000211 ./110000211.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000211_data.xml'] [0] 1\n",
+      "110000239\n",
+      "110000239 ./110000239.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000239_data.xml'] [0] 1\n",
+      "110001127\n",
+      "110001127 ./110001127.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001127_data.xml'] [0] 1\n",
+      "110001655\n",
+      "110001655 ./110001655.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001655_data.xml'] [0] 1\n",
+      "110001319\n",
+      "110001319 ./110001319.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001319_data.xml'] [0] 1\n",
+      "110000007\n",
+      "110000007 ./110000007.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000007_data.xml'] [0] 1\n",
+      "110000013\n",
+      "110000013 ./110000013.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000013_data.xml'] [0] 1\n",
+      "110000775\n",
+      "110000775 ./110000775.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000775_data.xml'] [0] 1\n",
+      "110001443\n",
+      "110001443 ./110001443.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001443_data.xml'] [0] 1\n",
+      "110001331\n",
+      "110001331 ./110001331.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001331_data.xml'] [0] 1\n",
+      "110000991\n",
+      "110000991 ./110000991.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000991_data.xml'] [0] 1\n",
+      "110000615\n",
+      "110000615 ./110000615.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000615_data.xml'] [0] 1\n",
+      "110000167\n",
+      "110000167 ./110000167.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000167_data.xml'] [0] 1\n",
+      "110001279\n",
+      "110001279 ./110001279.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001279_data.xml'] [0] 1\n",
+      "110001251\n",
+      "110001251 ./110001251.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001251_data.xml'] [0] 1\n",
+      "110001523\n",
+      "110001523 ./110001523.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001523_data.xml'] [0] 1\n",
+      "110000371\n",
+      "110000371 ./110000371.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000371_data.xml'] [0] 1\n",
+      "110000403\n",
+      "110000403 ./110000403.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000403_data.xml'] [0] 1\n",
+      "110001047\n",
+      "110001047 ./110001047.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001047_data.xml'] [0] 1\n",
+      "110000359\n",
+      "110000359 ./110000359.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000359_data.xml'] [0] 1\n",
+      "110001051\n",
+      "110001051 ./110001051.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001051_data.xml'] [0] 1\n",
+      "110000415\n",
+      "110000415 ./110000415.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000415_data.xml'] [0] 1\n",
+      "110000367\n",
+      "110000367 ./110000367.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000367_data.xml'] [0] 1\n",
+      "110001079\n",
+      "110001079 ./110001079.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001079_data.xml'] [0] 1\n",
+      "110001535\n",
+      "110001535 ./110001535.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001535_data.xml'] [0] 1\n",
+      "110001247\n",
+      "110001247 ./110001247.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001247_data.xml'] [0] 1\n",
+      "110000159\n",
+      "110000159 ./110000159.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000159_data.xml'] [0] 1\n",
+      "110000171\n",
+      "110000171 ./110000171.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000171_data.xml'] [0] 1\n",
+      "110000603\n",
+      "110000603 ./110000603.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000603_data.xml'] [0] 1\n",
+      "110000039\n",
+      "110000039 ./110000039.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000039_data.xml'] [0] 1\n",
+      "110001327\n",
+      "110001327 ./110001327.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001327_data.xml'] [0] 1\n",
+      "110000987\n",
+      "110000987 ./110000987.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000987_data.xml'] [0] 1\n",
+      "110001455\n",
+      "110001455 ./110001455.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001455_data.xml'] [0] 1\n",
+      "110000005\n",
+      "110000005 ./110000005.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000005_data.xml'] [0] 1\n",
+      "110000763\n",
+      "110000763 ./110000763.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000763_data.xml'] [0] 1\n",
+      "110000011\n",
+      "110000011 ./110000011.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000011_data.xml'] [0] 1\n",
+      "110001643\n",
+      "110001643 ./110001643.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001643_data.xml'] [0] 1\n",
+      "110001131\n",
+      "110001131 ./110001131.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001131_data.xml'] [0] 1\n",
+      "110001119\n",
+      "110001119 ./110001119.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001119_data.xml'] [0] 1\n",
+      "110000207\n",
+      "110000207 ./110000207.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000207_data.xml'] [0] 1\n",
+      "110000575\n",
+      "110000575 ./110000575.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000575_data.xml'] [0] 1\n",
+      "110000979\n",
+      "110000979 ./110000979.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000979_data.xml'] [0] 1\n",
+      "110000951\n",
+      "110000951 ./110000951.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000951_data.xml'] [0] 1\n",
+      "110001483\n",
+      "110001483 ./110001483.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001483_data.xml'] [0] 1\n",
+      "110000819\n",
+      "110000819 ./110000819.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000819_data.xml'] [0] 1\n",
+      "110001291\n",
+      "110001291 ./110001291.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001291_data.xml'] [0] 1\n",
+      "110000831\n",
+      "110000831 ./110000831.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000831_data.xml'] [0] 1\n",
+      "110000399\n",
+      "110000399 ./110000399.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000399_data.xml'] [0] 1\n",
+      "110001087\n",
+      "110001087 ./110001087.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001087_data.xml'] [0] 1\n",
+      "110001083\n",
+      "110001083 ./110001083.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001083_data.xml'] [0] 1\n",
+      "110000835\n",
+      "110000835 ./110000835.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000835_data.xml'] [0] 1\n",
+      "110001295\n",
+      "110001295 ./110001295.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001295_data.xml'] [0] 1\n",
+      "110000799\n",
+      "110000799 ./110000799.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000799_data.xml'] [0] 1\n",
+      "110001487\n",
+      "110001487 ./110001487.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001487_data.xml'] [0] 1\n",
+      "110000955\n",
+      "110000955 ./110000955.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000955_data.xml'] [0] 1\n",
+      "110001135\n",
+      "110001135 ./110001135.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001135_data.xml'] [0] 1\n",
+      "110001647\n",
+      "110001647 ./110001647.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001647_data.xml'] [0] 1\n",
+      "110000559\n",
+      "110000559 ./110000559.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000559_data.xml'] [0] 1\n",
+      "110000571\n",
+      "110000571 ./110000571.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000571_data.xml'] [0] 1\n",
+      "110000203\n",
+      "110000203 ./110000203.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000203_data.xml'] [0] 1\n",
+      "110000029\n",
+      "110000029 ./110000029.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000029_data.xml'] [0] 1\n",
+      "110001451\n",
+      "110001451 ./110001451.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001451_data.xml'] [0] 1\n",
+      "110000983\n",
+      "110000983 ./110000983.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000983_data.xml'] [0] 1\n",
+      "110001323\n",
+      "110001323 ./110001323.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001323_data.xml'] [0] 1\n",
+      "110000015\n",
+      "110000015 ./110000015.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000015_data.xml'] [0] 1\n",
+      "110000767\n",
+      "110000767 ./110000767.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000767_data.xml'] [0] 1\n",
+      "110001479\n",
+      "110001479 ./110001479.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001479_data.xml'] [0] 1\n",
+      "110000001\n",
+      "110000001 ./110000001.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000001_data.xml'] [0] 1\n",
+      "110001243\n",
+      "110001243 ./110001243.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001243_data.xml'] [0] 1\n",
+      "110001531\n",
+      "110001531 ./110001531.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001531_data.xml'] [0] 1\n",
+      "110001519\n",
+      "110001519 ./110001519.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001519_data.xml'] [0] 1\n",
+      "110000607\n",
+      "110000607 ./110000607.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000607_data.xml'] [0] 1\n",
+      "110000175\n",
+      "110000175 ./110000175.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000175_data.xml'] [0] 1\n",
+      "110000439\n",
+      "110000439 ./110000439.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000439_data.xml'] [0] 1\n",
+      "110001055\n",
+      "110001055 ./110001055.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001055_data.xml'] [0] 1\n",
+      "110000363\n",
+      "110000363 ./110000363.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000363_data.xml'] [0] 1\n",
+      "110000411\n",
+      "110000411 ./110000411.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000411_data.xml'] [0] 1\n",
+      "110000407\n",
+      "110000407 ./110000407.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000407_data.xml'] [0] 1\n",
+      "110000375\n",
+      "110000375 ./110000375.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000375_data.xml'] [0] 1\n",
+      "110001043\n",
+      "110001043 ./110001043.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001043_data.xml'] [0] 1\n",
+      "110000163\n",
+      "110000163 ./110000163.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000163_data.xml'] [0] 1\n",
+      "110000611\n",
+      "110000611 ./110000611.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000611_data.xml'] [0] 1\n",
+      "110000639\n",
+      "110000639 ./110000639.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000639_data.xml'] [0] 1\n",
+      "110001527\n",
+      "110001527 ./110001527.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001527_data.xml'] [0] 1\n",
+      "110001255\n",
+      "110001255 ./110001255.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001255_data.xml'] [0] 1\n",
+      "110000771\n",
+      "110000771 ./110000771.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000771_data.xml'] [0] 1\n",
+      "110000017\n",
+      "110000017 ./110000017.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000017_data.xml'] [0] 1\n",
+      "110000003\n",
+      "110000003 ./110000003.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000003_data.xml'] [0] 1\n",
+      "110000995\n",
+      "110000995 ./110000995.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000995_data.xml'] [0] 1\n",
+      "110001335\n",
+      "110001335 ./110001335.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001335_data.xml'] [0] 1\n",
+      "110001447\n",
+      "110001447 ./110001447.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001447_data.xml'] [0] 1\n",
+      "110000759\n",
+      "110000759 ./110000759.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000759_data.xml'] [0] 1\n",
+      "110000215\n",
+      "110000215 ./110000215.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000215_data.xml'] [0] 1\n",
+      "110000567\n",
+      "110000567 ./110000567.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000567_data.xml'] [0] 1\n",
+      "110001679\n",
+      "110001679 ./110001679.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001679_data.xml'] [0] 1\n",
+      "110001651\n",
+      "110001651 ./110001651.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001651_data.xml'] [0] 1\n",
+      "110001123\n",
+      "110001123 ./110001123.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001123_data.xml'] [0] 1\n",
+      "110000599\n",
+      "110000599 ./110000599.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000599_data.xml'] [0] 1\n",
+      "110000943\n",
+      "110000943 ./110000943.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000943_data.xml'] [0] 1\n",
+      "110001491\n",
+      "110001491 ./110001491.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001491_data.xml'] [0] 1\n",
+      "110000823\n",
+      "110000823 ./110000823.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000823_data.xml'] [0] 1\n",
+      "110001283\n",
+      "110001283 ./110001283.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001283_data.xml'] [0] 1\n",
+      "110001095\n",
+      "110001095 ./110001095.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001095_data.xml'] [0] 1\n",
+      "110000379\n",
+      "110000379 ./110000379.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000379_data.xml'] [0] 1\n",
+      "110001067\n",
+      "110001067 ./110001067.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001067_data.xml'] [0] 1\n",
+      "110000423\n",
+      "110000423 ./110000423.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000423_data.xml'] [0] 1\n",
+      "110000351\n",
+      "110000351 ./110000351.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000351_data.xml'] [0] 1\n",
+      "110001503\n",
+      "110001503 ./110001503.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001503_data.xml'] [0] 1\n",
+      "110001271\n",
+      "110001271 ./110001271.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001271_data.xml'] [0] 1\n",
+      "110001259\n",
+      "110001259 ./110001259.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001259_data.xml'] [0] 1\n",
+      "110000147\n",
+      "110000147 ./110000147.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000147_data.xml'] [0] 1\n",
+      "110000635\n",
+      "110000635 ./110000635.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000635_data.xml'] [0] 1\n",
+      "110001311\n",
+      "110001311 ./110001311.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001311_data.xml'] [0] 1\n",
+      "110001463\n",
+      "110001463 ./110001463.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001463_data.xml'] [0] 1\n",
+      "110000033\n",
+      "110000033 ./110000033.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000033_data.xml'] [0] 1\n",
+      "110000755\n",
+      "110000755 ./110000755.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000755_data.xml'] [0] 1\n",
+      "110000999\n",
+      "110000999 ./110000999.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000999_data.xml'] [0] 1\n",
+      "110001339\n",
+      "110001339 ./110001339.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001339_data.xml'] [0] 1\n",
+      "110001675\n",
+      "110001675 ./110001675.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001675_data.xml'] [0] 1\n",
+      "110001107\n",
+      "110001107 ./110001107.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001107_data.xml'] [0] 1\n",
+      "110000219\n",
+      "110000219 ./110000219.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000219_data.xml'] [0] 1\n",
+      "110000231\n",
+      "110000231 ./110000231.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000231_data.xml'] [0] 1\n",
+      "110000543\n",
+      "110000543 ./110000543.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000543_data.xml'] [0] 1\n",
+      "110000595\n",
+      "110000595 ./110000595.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000595_data.xml'] [0] 1\n",
+      "110000783\n",
+      "110000783 ./110000783.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000783_data.xml'] [0] 1\n",
+      "110000967\n",
+      "110000967 ./110000967.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000967_data.xml'] [0] 1\n",
+      "110000191\n",
+      "110000191 ./110000191.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000191_data.xml'] [0] 1\n",
+      "110000807\n",
+      "110000807 ./110000807.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000807_data.xml'] [0] 1\n",
+      "110000387\n",
+      "110000387 ./110000387.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000387_data.xml'] [0] 1\n",
+      "110001099\n",
+      "110001099 ./110001099.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001099_data.xml'] [0] 1\n",
+      "110000391\n",
+      "110000391 ./110000391.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000391_data.xml'] [0] 1\n",
+      "110000811\n",
+      "110000811 ./110000811.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000811_data.xml'] [0] 1\n",
+      "110000839\n",
+      "110000839 ./110000839.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000839_data.xml'] [0] 1\n",
+      "110000187\n",
+      "110000187 ./110000187.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000187_data.xml'] [0] 1\n",
+      "110001299\n",
+      "110001299 ./110001299.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001299_data.xml'] [0] 1\n",
+      "110000971\n",
+      "110000971 ./110000971.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000971_data.xml'] [0] 1\n",
+      "110000959\n",
+      "110000959 ./110000959.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000959_data.xml'] [0] 1\n",
+      "110000795\n",
+      "110000795 ./110000795.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000795_data.xml'] [0] 1\n",
+      "110000583\n",
+      "110000583 ./110000583.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000583_data.xml'] [0] 1\n",
+      "110000555\n",
+      "110000555 ./110000555.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000555_data.xml'] [0] 1\n",
+      "110000227\n",
+      "110000227 ./110000227.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000227_data.xml'] [0] 1\n",
+      "110001139\n",
+      "110001139 ./110001139.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001139_data.xml'] [0] 1\n",
+      "110001111\n",
+      "110001111 ./110001111.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001111_data.xml'] [0] 1\n",
+      "110001663\n",
+      "110001663 ./110001663.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001663_data.xml'] [0] 1\n",
+      "110000025\n",
+      "110000025 ./110000025.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000025_data.xml'] [0] 1\n",
+      "110000743\n",
+      "110000743 ./110000743.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000743_data.xml'] [0] 1\n",
+      "110001475\n",
+      "110001475 ./110001475.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001475_data.xml'] [0] 1\n",
+      "110001307\n",
+      "110001307 ./110001307.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001307_data.xml'] [0] 1\n",
+      "110000623\n",
+      "110000623 ./110000623.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000623_data.xml'] [0] 1\n",
+      "110000151\n",
+      "110000151 ./110000151.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000151_data.xml'] [0] 1\n",
+      "110000179\n",
+      "110000179 ./110000179.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000179_data.xml'] [0] 1\n",
+      "110001267\n",
+      "110001267 ./110001267.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001267_data.xml'] [0] 1\n",
+      "110001515\n",
+      "110001515 ./110001515.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001515_data.xml'] [0] 1\n",
+      "110001059\n",
+      "110001059 ./110001059.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001059_data.xml'] [0] 1\n",
+      "110000347\n",
+      "110000347 ./110000347.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000347_data.xml'] [0] 1\n",
+      "110000435\n",
+      "110000435 ./110000435.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000435_data.xml'] [0] 1\n",
+      "110001071\n",
+      "110001071 ./110001071.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001071_data.xml'] [0] 1\n",
+      "110000431\n",
+      "110000431 ./110000431.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000431_data.xml'] [0] 1\n",
+      "110000343\n",
+      "110000343 ./110000343.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000343_data.xml'] [0] 1\n",
+      "110001075\n",
+      "110001075 ./110001075.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001075_data.xml'] [0] 1\n",
+      "110000419\n",
+      "110000419 ./110000419.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000419_data.xml'] [0] 1\n",
+      "110000155\n",
+      "110000155 ./110000155.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000155_data.xml'] [0] 1\n",
+      "110000627\n",
+      "110000627 ./110000627.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000627_data.xml'] [0] 1\n",
+      "110001539\n",
+      "110001539 ./110001539.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001539_data.xml'] [0] 1\n",
+      "110001511\n",
+      "110001511 ./110001511.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001511_data.xml'] [0] 1\n",
+      "110001263\n",
+      "110001263 ./110001263.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001263_data.xml'] [0] 1\n",
+      "110001459\n",
+      "110001459 ./110001459.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001459_data.xml'] [0] 1\n",
+      "110000747\n",
+      "110000747 ./110000747.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000747_data.xml'] [0] 1\n",
+      "110000021\n",
+      "110000021 ./110000021.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000021_data.xml'] [0] 1\n",
+      "110001303\n",
+      "110001303 ./110001303.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001303_data.xml'] [0] 1\n",
+      "110000009\n",
+      "110000009 ./110000009.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000009_data.xml'] [0] 1\n",
+      "110001471\n",
+      "110001471 ./110001471.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001471_data.xml'] [0] 1\n",
+      "110000223\n",
+      "110000223 ./110000223.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000223_data.xml'] [0] 1\n",
+      "110000551\n",
+      "110000551 ./110000551.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000551_data.xml'] [0] 1\n",
+      "110000579\n",
+      "110000579 ./110000579.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000579_data.xml'] [0] 1\n",
+      "110001667\n",
+      "110001667 ./110001667.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001667_data.xml'] [0] 1\n",
+      "110001115\n",
+      "110001115 ./110001115.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001115_data.xml'] [0] 1\n",
+      "110000587\n",
+      "110000587 ./110000587.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000587_data.xml'] [0] 1\n",
+      "110000975\n",
+      "110000975 ./110000975.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000975_data.xml'] [0] 1\n",
+      "110000791\n",
+      "110000791 ./110000791.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000791_data.xml'] [0] 1\n",
+      "110000815\n",
+      "110000815 ./110000815.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000815_data.xml'] [0] 1\n",
+      "110000183\n",
+      "110000183 ./110000183.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000183_data.xml'] [0] 1\n",
+      "110000395\n",
+      "110000395 ./110000395.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000395_data.xml'] [0] 1\n",
+      "110000383\n",
+      "110000383 ./110000383.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000383_data.xml'] [0] 1\n",
+      "110000195\n",
+      "110000195 ./110000195.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000195_data.xml'] [0] 1\n",
+      "110000803\n",
+      "110000803 ./110000803.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000803_data.xml'] [0] 1\n",
+      "110000787\n",
+      "110000787 ./110000787.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000787_data.xml'] [0] 1\n",
+      "110001499\n",
+      "110001499 ./110001499.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001499_data.xml'] [0] 1\n",
+      "110000963\n",
+      "110000963 ./110000963.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000963_data.xml'] [0] 1\n",
+      "110000591\n",
+      "110000591 ./110000591.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000591_data.xml'] [0] 1\n",
+      "110001103\n",
+      "110001103 ./110001103.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001103_data.xml'] [0] 1\n",
+      "110001671\n",
+      "110001671 ./110001671.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001671_data.xml'] [0] 1\n",
+      "110001659\n",
+      "110001659 ./110001659.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001659_data.xml'] [0] 1\n",
+      "110000547\n",
+      "110000547 ./110000547.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000547_data.xml'] [0] 1\n",
+      "110000235\n",
+      "110000235 ./110000235.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000235_data.xml'] [0] 1\n",
+      "110000779\n",
+      "110000779 ./110000779.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000779_data.xml'] [0] 1\n",
+      "110001467\n",
+      "110001467 ./110001467.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001467_data.xml'] [0] 1\n",
+      "110001315\n",
+      "110001315 ./110001315.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001315_data.xml'] [0] 1\n",
+      "110000751\n",
+      "110000751 ./110000751.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000751_data.xml'] [0] 1\n",
+      "110000037\n",
+      "110000037 ./110000037.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000037_data.xml'] [0] 1\n",
+      "110001275\n",
+      "110001275 ./110001275.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001275_data.xml'] [0] 1\n",
+      "110001507\n",
+      "110001507 ./110001507.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001507_data.xml'] [0] 1\n",
+      "110000619\n",
+      "110000619 ./110000619.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000619_data.xml'] [0] 1\n",
+      "110000631\n",
+      "110000631 ./110000631.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000631_data.xml'] [0] 1\n",
+      "110000143\n",
+      "110000143 ./110000143.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000143_data.xml'] [0] 1\n",
+      "110001063\n",
+      "110001063 ./110001063.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001063_data.xml'] [0] 1\n",
+      "110000355\n",
+      "110000355 ./110000355.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000355_data.xml'] [0] 1\n",
+      "110000427\n",
+      "110000427 ./110000427.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000427_data.xml'] [0] 1\n",
+      "110000483\n",
+      "110000483 ./110000483.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000483_data.xml'] [0] 1\n",
+      "110000871\n",
+      "110000871 ./110000871.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000871_data.xml'] [0] 1\n",
+      "110000859\n",
+      "110000859 ./110000859.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000859_data.xml'] [0] 1\n",
+      "110000695\n",
+      "110000695 ./110000695.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000695_data.xml'] [0] 1\n",
+      "110000911\n",
+      "110000911 ./110000911.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000911_data.xml'] [0] 1\n",
+      "110001399\n",
+      "110001399 ./110001399.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001399_data.xml'] [0] 1\n",
+      "110000087\n",
+      "110000087 ./110000087.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000087_data.xml'] [0] 1\n",
+      "110000939\n",
+      "110000939 ./110000939.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000939_data.xml'] [0] 1\n",
+      "110000291\n",
+      "110000291 ./110000291.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000291_data.xml'] [0] 1\n",
+      "110000247\n",
+      "110000247 ./110000247.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000247_data.xml'] [0] 1\n",
+      "110001159\n",
+      "110001159 ./110001159.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001159_data.xml'] [0] 1\n",
+      "110000535\n",
+      "110000535 ./110000535.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000535_data.xml'] [0] 1\n",
+      "110001603\n",
+      "110001603 ./110001603.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001603_data.xml'] [0] 1\n",
+      "110001171\n",
+      "110001171 ./110001171.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001171_data.xml'] [0] 1\n",
+      "110000723\n",
+      "110000723 ./110000723.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000723_data.xml'] [0] 1\n",
+      "110000051\n",
+      "110000051 ./110000051.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000051_data.xml'] [0] 1\n",
+      "110001367\n",
+      "110001367 ./110001367.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001367_data.xml'] [0] 1\n",
+      "110000079\n",
+      "110000079 ./110000079.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000079_data.xml'] [0] 1\n",
+      "110001415\n",
+      "110001415 ./110001415.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001415_data.xml'] [0] 1\n",
+      "110000131\n",
+      "110000131 ./110000131.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000131_data.xml'] [0] 1\n",
+      "110000643\n",
+      "110000643 ./110000643.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000643_data.xml'] [0] 1\n",
+      "110001575\n",
+      "110001575 ./110001575.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001575_data.xml'] [0] 1\n",
+      "110000119\n",
+      "110000119 ./110000119.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000119_data.xml'] [0] 1\n",
+      "110001207\n",
+      "110001207 ./110001207.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001207_data.xml'] [0] 1\n",
+      "110000455\n",
+      "110000455 ./110000455.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000455_data.xml'] [0] 1\n",
+      "110001039\n",
+      "110001039 ./110001039.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001039_data.xml'] [0] 1\n",
+      "110000327\n",
+      "110000327 ./110000327.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000327_data.xml'] [0] 1\n",
+      "110001011\n",
+      "110001011 ./110001011.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001011_data.xml'] [0] 1\n",
+      "110000319\n",
+      "110000319 ./110000319.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000319_data.xml'] [0] 1\n",
+      "110001007\n",
+      "110001007 ./110001007.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001007_data.xml'] [0] 1\n",
+      "110000331\n",
+      "110000331 ./110000331.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000331_data.xml'] [0] 1\n",
+      "110000443\n",
+      "110000443 ./110000443.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000443_data.xml'] [0] 1\n",
+      "110001211\n",
+      "110001211 ./110001211.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001211_data.xml'] [0] 1\n",
+      "110001563\n",
+      "110001563 ./110001563.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001563_data.xml'] [0] 1\n",
+      "110000655\n",
+      "110000655 ./110000655.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000655_data.xml'] [0] 1\n",
+      "110001239\n",
+      "110001239 ./110001239.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001239_data.xml'] [0] 1\n",
+      "110000127\n",
+      "110000127 ./110000127.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000127_data.xml'] [0] 1\n",
+      "110000899\n",
+      "110000899 ./110000899.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000899_data.xml'] [0] 1\n",
+      "110001403\n",
+      "110001403 ./110001403.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001403_data.xml'] [0] 1\n",
+      "110001371\n",
+      "110001371 ./110001371.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001371_data.xml'] [0] 1\n",
+      "110000047\n",
+      "110000047 ./110000047.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000047_data.xml'] [0] 1\n",
+      "110001359\n",
+      "110001359 ./110001359.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001359_data.xml'] [0] 1\n",
+      "110000735\n",
+      "110000735 ./110000735.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000735_data.xml'] [0] 1\n",
+      "110001167\n",
+      "110001167 ./110001167.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001167_data.xml'] [0] 1\n",
+      "110000279\n",
+      "110000279 ./110000279.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000279_data.xml'] [0] 1\n",
+      "110001615\n",
+      "110001615 ./110001615.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001615_data.xml'] [0] 1\n",
+      "110000523\n",
+      "110000523 ./110000523.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000523_data.xml'] [0] 1\n",
+      "110000251\n",
+      "110000251 ./110000251.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000251_data.xml'] [0] 1\n",
+      "110001199\n",
+      "110001199 ./110001199.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001199_data.xml'] [0] 1\n",
+      "110000287\n",
+      "110000287 ./110000287.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000287_data.xml'] [0] 1\n",
+      "110000091\n",
+      "110000091 ./110000091.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000091_data.xml'] [0] 1\n",
+      "110000907\n",
+      "110000907 ./110000907.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000907_data.xml'] [0] 1\n",
+      "110000683\n",
+      "110000683 ./110000683.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000683_data.xml'] [0] 1\n",
+      "110000867\n",
+      "110000867 ./110000867.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000867_data.xml'] [0] 1\n",
+      "110000495\n",
+      "110000495 ./110000495.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000495_data.xml'] [0] 1\n",
+      "110000491\n",
+      "110000491 ./110000491.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000491_data.xml'] [0] 1\n",
+      "110001599\n",
+      "110001599 ./110001599.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001599_data.xml'] [0] 1\n",
+      "110000687\n",
+      "110000687 ./110000687.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000687_data.xml'] [0] 1\n",
+      "110000863\n",
+      "110000863 ./110000863.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000863_data.xml'] [0] 1\n",
+      "110000095\n",
+      "110000095 ./110000095.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000095_data.xml'] [0] 1\n",
+      "110000903\n",
+      "110000903 ./110000903.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000903_data.xml'] [0] 1\n",
+      "110000283\n",
+      "110000283 ./110000283.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000283_data.xml'] [0] 1\n",
+      "110001611\n",
+      "110001611 ./110001611.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001611_data.xml'] [0] 1\n",
+      "110001163\n",
+      "110001163 ./110001163.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001163_data.xml'] [0] 1\n",
+      "110000255\n",
+      "110000255 ./110000255.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000255_data.xml'] [0] 1\n",
+      "110001639\n",
+      "110001639 ./110001639.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001639_data.xml'] [0] 1\n",
+      "110000527\n",
+      "110000527 ./110000527.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000527_data.xml'] [0] 1\n",
+      "110001375\n",
+      "110001375 ./110001375.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001375_data.xml'] [0] 1\n",
+      "110000719\n",
+      "110000719 ./110000719.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000719_data.xml'] [0] 1\n",
+      "110001407\n",
+      "110001407 ./110001407.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001407_data.xml'] [0] 1\n",
+      "110000731\n",
+      "110000731 ./110000731.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000731_data.xml'] [0] 1\n",
+      "110000043\n",
+      "110000043 ./110000043.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000043_data.xml'] [0] 1\n",
+      "110001567\n",
+      "110001567 ./110001567.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001567_data.xml'] [0] 1\n",
+      "110000679\n",
+      "110000679 ./110000679.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000679_data.xml'] [0] 1\n",
+      "110001215\n",
+      "110001215 ./110001215.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001215_data.xml'] [0] 1\n",
+      "110000123\n",
+      "110000123 ./110000123.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000123_data.xml'] [0] 1\n",
+      "110000651\n",
+      "110000651 ./110000651.pdf ../../../Data/AB_other/SessionOverviews/\n"
+     ]
+    },
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000651_data.xml'] [0] 1\n",
+      "110001003\n",
+      "110001003 ./110001003.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001003_data.xml'] [0] 1\n",
+      "110000447\n",
+      "110000447 ./110000447.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000447_data.xml'] [0] 1\n",
+      "110000335\n",
+      "110000335 ./110000335.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000335_data.xml'] [0] 1\n",
+      "110000323\n",
+      "110000323 ./110000323.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000323_data.xml'] [0] 1\n",
+      "110000451\n",
+      "110000451 ./110000451.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000451_data.xml'] [0] 1\n",
+      "110000479\n",
+      "110000479 ./110000479.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000479_data.xml'] [0] 1\n",
+      "110001015\n",
+      "110001015 ./110001015.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001015_data.xml'] [0] 1\n",
+      "110000647\n",
+      "110000647 ./110000647.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000647_data.xml'] [0] 1\n",
+      "110001559\n",
+      "110001559 ./110001559.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001559_data.xml'] [0] 1\n",
+      "110000135\n",
+      "110000135 ./110000135.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000135_data.xml'] [0] 1\n",
+      "110001203\n",
+      "110001203 ./110001203.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001203_data.xml'] [0] 1\n",
+      "110001571\n",
+      "110001571 ./110001571.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001571_data.xml'] [0] 1\n",
+      "110000055\n",
+      "110000055 ./110000055.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000055_data.xml'] [0] 1\n",
+      "110001439\n",
+      "110001439 ./110001439.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001439_data.xml'] [0] 1\n",
+      "110000727\n",
+      "110000727 ./110000727.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000727_data.xml'] [0] 1\n",
+      "110001411\n",
+      "110001411 ./110001411.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001411_data.xml'] [0] 1\n",
+      "110001363\n",
+      "110001363 ./110001363.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001363_data.xml'] [0] 1\n",
+      "110000531\n",
+      "110000531 ./110000531.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000531_data.xml'] [0] 1\n",
+      "110000243\n",
+      "110000243 ./110000243.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000243_data.xml'] [0] 1\n",
+      "110001175\n",
+      "110001175 ./110001175.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001175_data.xml'] [0] 1\n",
+      "110000519\n",
+      "110000519 ./110000519.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000519_data.xml'] [0] 1\n",
+      "110001607\n",
+      "110001607 ./110001607.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110001607_data.xml'] [0] 1\n",
+      "110000295\n",
+      "110000295 ./110000295.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000295_data.xml'] [0] 1\n",
+      "110000915\n",
+      "110000915 ./110000915.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000915_data.xml'] [0] 1\n",
+      "110000083\n",
+      "110000083 ./110000083.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000083_data.xml'] [0] 1\n",
+      "110000875\n",
+      "110000875 ./110000875.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000875_data.xml'] [0] 1\n",
+      "110000691\n",
+      "110000691 ./110000691.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000691_data.xml'] [0] 1\n",
+      "110000487\n",
+      "110000487 ./110000487.pdf ../../../Data/AB_other/SessionOverviews/\n",
+      "Command output :  b''\n",
+      "Command exit status/return code :  0\n",
+      "['../../../Data/AB_other/SessionOverviews/', '../../../Data/AB_other/SessionOverviews/110000487_data.xml'] [0] 1\n"
+     ]
+    }
+   ],
+   "source": [
+    "# Simply creating a metadata file from the last page of the document. Without folders per year\n",
+    "folder_database = '../../../Data/AB_other/SessionOverviews/'\n",
+    "\n",
+    "for i in os.listdir(folder_database):\n",
+    "    if i[-3:] == 'pdf':\n",
+    "        id_file = i.split('.')[0]\n",
+    "        print(id_file)\n",
+    "        if not os.path.exists(folder_database + '/' + id_file + '_metacorr.xml'):        \n",
+    "            input_file = './' + id_file + '.pdf'\n",
+    "            d1 = defc.Document(input_file, folder_database, flag_type = 3)\n",
+    "            d1.pdf2imgobj(resolution=25)\n",
+    "            print(d1.id_doc, d1.input_file, d1.path_file)\n",
+    "            d1.pdf2xml(pages = [len(d1.imgobj)-1], suffix_xml = '_data', flag_save = 0, name_outxml = '02_extractedxml')\n",
+    "            print(d1.name_xml, d1.n_pages, len(d1.XML_main))\n",
+    "\n",
+    "            XML_tree = ET.parse(d1.name_xml[1])\n",
+    "            XML_root = XML_tree.getroot()\n",
+    "\n",
+    "            name_out = folder_database + '/' + id_file + '_metacorr.xml'\n",
+    "            correct_metadata(XML_root, name_out, page = -1, default_xml = '../../../Data/AB_other/default_meta.xml')"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 120,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "1921\n"
+     ]
+    },
+    {
+     "ename": "TypeError",
+     "evalue": "__init__() got an unexpected keyword argument 'flag_tar'",
+     "output_type": "error",
+     "traceback": [
+      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
+      "\u001b[0;31mTypeError\u001b[0m                                 Traceback (most recent call last)",
+      "\u001b[0;32m<ipython-input-120-8c368fa4a371>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m     10\u001b[0m                 \u001b[0;32mif\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mos\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpath\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mexists\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfolder_database\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;34m'/'\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0mf\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;34m'/'\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0mid_file\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;34m'_metacorr.xml'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     11\u001b[0m                     \u001b[0minput_file\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m'./'\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0mf\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;34m'/'\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0mid_file\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;34m'.pdf'\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 12\u001b[0;31m                     \u001b[0md1\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mdefc\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mDocument\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0minput_file\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfolder_database\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mflag_type\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;36m2\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mflag_tar\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m     13\u001b[0m                     \u001b[0md1\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpdf2imgobj\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mresolution\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m25\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     14\u001b[0m                     \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0md1\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mid_doc\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0md1\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0minput_file\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0md1\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpath_file\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+      "\u001b[0;31mTypeError\u001b[0m: __init__() got an unexpected keyword argument 'flag_tar'"
+     ]
+    }
+   ],
+   "source": [
+    "# Simply creating a metadata file from the last page of the document. With folders per year\n",
+    "folder_database = '/Volumes/WorkData/Databases/BundesArchiv/AdditionalProtocols/'\n",
+    "for f in os.listdir(folder_database):    \n",
+    "    if re.match(\"1[0-9]*\",f):\n",
+    "        print(f)\n",
+    "        for i in os.listdir(folder_database + '/' + f):\n",
+    "            if i[-3:] == 'pdf':\n",
+    "                id_file = i.split('.')[0]\n",
+    "                #print(id_file)\n",
+    "                if not os.path.exists(folder_database + '/' + f + '/' + id_file + '_metacorr.xml'):        \n",
+    "                    input_file = './' + f + '/' + id_file + '.pdf'\n",
+    "                    d1 = defc.Document(input_file, folder_database, flag_type = 2, flag_tar = 0)\n",
+    "                    d1.pdf2imgobj(resolution=25)\n",
+    "                    print(d1.id_doc, d1.input_file, d1.path_file)\n",
+    "                    d1.pdf2xml(pages = [len(d1.imgobj)-1], suffix_xml = '_data', flag_save = 0, name_outxml = '02_extractedxml')\n",
+    "                    print(d1.name_xml, d1.n_pages, len(d1.XML_main))\n",
+    "\n",
+    "                    XML_tree = ET.parse(d1.name_xml[1])\n",
+    "                    XML_root = XML_tree.getroot()\n",
+    "\n",
+    "                    name_out = folder_database + '/' + f + '/' + id_file + '_metacorr.xml'\n",
+    "                    correct_metadata(XML_root, name_out, page = -1, default_xml = '../../../Data/AB_other/default_meta.xml')"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 117,
+   "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "'./1921/100000001.pdf'"
+      ]
+     },
+     "execution_count": 117,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "d1.input_file"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 85,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "# Copying the files to folders, according to the year\n",
+    "for i in os.listdir(folder_database):\n",
+    "    if i[-3:] == 'pdf':\n",
+    "        \n",
+    "        id_file = i.split('.')[0]\n",
+    "        input_file = folder_database + '/' + id_file + '_metacorr.xml'\n",
+    "        XML_tree = ET.parse(input_file)\n",
+    "        XML_root = XML_tree.getroot()\n",
+    "        \n",
+    "        year = XML_root[0].attrib['JAHR']\n",
+    "        if not os.path.exists(folder_database + '/' + str(year)):\n",
+    "            os.makedirs(folder_database + '/' + str(year)) \n",
+    "            \n",
+    "        os.rename(folder_database + '/' + id_file + '.pdf', \n",
+    "                  folder_database + '/' + str(year) + '/' + id_file + '.pdf')\n",
+    "        os.rename(folder_database + '/' + id_file + '_metacorr.xml', \n",
+    "                  folder_database + '/' + str(year) + '/' + id_file + '_metacorr.xml')"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 106,
+   "metadata": {
+    "scrolled": true
+   },
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "1899\n",
+      "1897\n",
+      "1896\n",
+      "1891\n",
+      "1898\n",
+      "1944\n",
+      "1943\n",
+      "1988\n",
+      "1981\n",
+      "1975\n",
+      "1972\n",
+      "1986\n",
+      "1919\n",
+      "1926\n",
+      "1921\n",
+      "1928\n",
+      "1917\n",
+      "1910\n",
+      "1987\n",
+      "1973\n",
+      "1974\n",
+      "1980\n",
+      "1942\n",
+      "1989\n",
+      "1945\n",
+      "1911\n",
+      "1929\n",
+      "1916\n",
+      "1920\n",
+      "1918\n",
+      "1927\n",
+      "1905\n",
+      "1902\n",
+      "1934\n",
+      "1933\n",
+      "1958\n",
+      "1993\n",
+      "1967\n",
+      "1960\n",
+      "1994\n",
+      "1969\n",
+      "1956\n",
+      "1951\n",
+      "1932\n",
+      "1935\n",
+      "1903\n",
+      "1904\n",
+      "1950\n",
+      "1968\n",
+      "1957\n",
+      "1995\n",
+      "1961\n",
+      "1959\n",
+      "1966\n",
+      "1992\n",
+      "1894\n",
+      "1893\n",
+      "1892\n",
+      "1895\n",
+      "1922\n",
+      "1925\n",
+      "1913\n",
+      "1914\n",
+      "1940\n",
+      "1947\n",
+      "1978\n",
+      "1971\n",
+      "1985\n",
+      "1982\n",
+      "1976\n",
+      "1949\n",
+      "1915\n",
+      "1912\n",
+      "1924\n",
+      "1923\n",
+      "1977\n",
+      "1983\n",
+      "1948\n",
+      "1984\n",
+      "1970\n",
+      "1946\n",
+      "1979\n",
+      "1941\n",
+      "1963\n",
+      "1990\n",
+      "1964\n",
+      "1952\n",
+      "1955\n",
+      "1901\n",
+      "1906\n",
+      "1939\n",
+      "1930\n",
+      "1937\n",
+      "1908\n",
+      "1954\n",
+      "1953\n",
+      "1965\n",
+      "1991\n",
+      "1962\n",
+      "1936\n",
+      "1909\n",
+      "1931\n",
+      "1907\n",
+      "1938\n",
+      "1900\n"
+     ]
+    }
+   ],
+   "source": [
+    "# Now, simply create the tar\n",
+    "folder_database = '/Volumes/WorkData/Databases/BundesArchiv/AdditionalProtocols/'\n",
+    "\n",
+    "os.chdir(folder_database)\n",
+    "\n",
+    "# folder_d_out = '../../../Data/AB_other/SessionOverviews_tar/'\n",
+    "folder_d_out = '../../../Data/AB_other/AdditionalProtocols_tar'\n",
+    "\n",
+    "for i in os.listdir(folder_database):\n",
+    "    if re.match(\"1[0-9]*\",i):\n",
+    "        print(i)\n",
+    "        if not os.path.exists(folder_d_out + '/' + i):\n",
+    "            os.makedirs(folder_d_out + '/' + i) \n",
+    "        for f in os.listdir(folder_database + '/' + i):\n",
+    "            input_file = './' + i + '/' + f\n",
+    "            if f[-3:] == 'pdf':                \n",
+    "                utils_proc.addto_tar(input_file, folder_d_out, '00_rawpdfs')\n",
+    "            if f[-3:] == 'xml':\n",
+    "                utils_proc.addto_tar(input_file, folder_d_out, '03_correctedmeta')"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": []
+  }
+ ],
+ "metadata": {
+  "kernelspec": {
+   "display_name": "Python 3",
+   "language": "python",
+   "name": "python3"
+  },
+  "language_info": {
+   "codemirror_mode": {
+    "name": "ipython",
+    "version": 3
+   },
+   "file_extension": ".py",
+   "mimetype": "text/x-python",
+   "name": "python",
+   "nbconvert_exporter": "python",
+   "pygments_lexer": "ipython3",
+   "version": "3.6.5"
+  }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}
diff --git a/src/python/def_classes.py b/src/python/def_classes.py
index c19a3833..64d7e5d2 100644
--- a/src/python/def_classes.py
+++ b/src/python/def_classes.py
@@ -38,10 +38,12 @@ class Document:
     flag_end_run = 1
     name_inpdf = '00_rawpdfs'
     name_inmeta = '01_rawmeta'
+    name_inmeta_corr = '03_correctedmeta'
 
-    def __init__(self, input_file, folder_database, flag_type = 1):
+    def __init__(self, input_file, folder_database, flag_type = 1, flag_tar = 1):
         # flag_type: 1 = Amtliches Bulletin, 2 = additional protocols
         # 3 = summary of sessions
+        # flag_tar: files contained in tar or not.
         if not flag_type == 3:
             self.year = int(input_file.split('/')[-2])
             self.path_file = folder_database + str(self.year) + '/'
@@ -53,10 +55,11 @@ class Document:
         _, self.name_file = os.path.split(input_file)                
         self.name_wo_ext = os.path.splitext(self.name_file)[0]
         self.folder_database = folder_database
-        
+        self.flag_tar = flag_tar
+                
+        self._meta_corr_ext()
         if flag_type == 1:
             self._meta_ext()
-            self._meta_corr_ext()
             self._xml_ext()
 
     def _meta_ext(self):
@@ -69,7 +72,7 @@ class Document:
     def _meta_corr_ext(self):
     # Both for the correction and the extraction of the metadata information
         name_file = str(self.year) + '/' + self.id_doc + '_metacorr.xml'
-        name_tar = self.folder_database + str(self.year) + '/' + self.name_inmeta + '.tar.gz'
+        name_tar = self.folder_database + str(self.year) + '/' + self.name_inmeta_corr + '.tar.gz'
         self.name_meta_corr = [name_tar, name_file]
 
     def _xml_ext(self, suffix_xml = '_data', name_outcorrxml = '04_correctedxml'):
@@ -92,7 +95,7 @@ class Document:
     def pdf2imgobj(self, resolution = 100):
 
         self.resolution = resolution
-        if self.flag_type == 3:
+        if self.flag_tar == 0:
             self.imgobj = convert_from_path(self.folder_database + self.input_file, dpi = resolution)
         else:
             utils_proc.tar_extractfile(self.input_file, self.folder_database, name_file = self.name_inpdf)
@@ -117,7 +120,7 @@ class Document:
             self.pdf2imgobj()
         self._get_pages(pages = pages)
         
-        if self.flag_type == 3:
+        if self.flag_tar == 0:
             name_xml = utils_proc.pdf2xml(self.path_file + '/' + self.id_doc + '.pdf', page_n = self.n_pages + 1, suffix_str = suffix_xml,
                                           flag_end = self.flag_end_run)    
             self.name_xml = [self.path_file, name_xml]
diff --git a/src/python/utils_proc.py b/src/python/utils_proc.py
index 1317dcc7..aeb6c293 100644
--- a/src/python/utils_proc.py
+++ b/src/python/utils_proc.py
@@ -128,7 +128,7 @@ def addto_tar(input_file, folder_database, name_file):
         # first extract everything, except for it, and tar everything again
         if input_file in list_files_intar:
             for in_f in list_files_intar:
-                if in_f!= input_file:
+                if in_f != input_file:
                     #print(in_f, folder_database, name_file)
                     tar_extractfile(in_f, folder_database, name_file)
             tf = tarfile.open(name_tar, mode="w")
-- 
GitLab