public void write(File file, ShoppingBakets<ConcreteItem> shoppingBaskets){
        List<String> resultList = new  ArrayList<String>(); 
        SaleTaxCalcultorService saleTaxCalculator = SaleTaxCalcultorService.getInstance();
        for(ConcreteItem item:shoppingBaskets){
        	StringBuilder tmp = new StringBuilder();
        	tmp.append(item.getQuantity())
        	.append(" ")
        	.append(item.getName())
        	.append(" : ")
        	.append(saleTaxCalculator.calculateItemsPriceWithTax(item))
        	.append(System.getProperty("line.separator"));
        	resultList.add(tmp.toString());
        }
        resultList = writeTotalSaleTax(shoppingBaskets, resultList, saleTaxCalculator);
        resultList = writeTotalCost(shoppingBaskets, resultList, saleTaxCalculator);                
		try {
			FileUtility.write(file, resultList);
		} catch (IOException e) {
			e.printStackTrace();
		}		
		
	}