holderAndPosition = generateSubWorkingList(aIngredientList, holderAndPosition, tecanSettings, targetHolder, holderList, wasteHolder, workListWriter);
      }
      workListWriter.write("Comment(\"End\");\n");
      workListWriter.close();
    } catch (FileNotFoundException e) {
      throw new RobotDriverException("Problem to access the File " + tecanSettings.getProperty("workingListReferencePath") +
          " or the file" + tecanSettings.getProperty("workingListExportPath") + "\n" + "Details: " + e.getMessage());
    } catch (IOException e) {
      throw new RobotDriverException("Problem to access the File " + tecanSettings.getProperty("workingListReferencePath") +
          " or the file" + tecanSettings.getProperty("workingListExportPath") + "\n" + "Details: " + e.getMessage());
    }
  }