public static void getFromFile(String fileName) {
		ShoppingCart sc = new ShoppingCart();
		try {
		    BufferedReader in = new BufferedReader(new FileReader(fileName));
		    String str;
		    while ((str = in.readLine()) != null) {
		    	if (ItemParser.matches(str) && !str.isEmpty())
		    		sc.put(ItemParser.parser(str), ItemParser.count(str)); 
		    		else
		    			if (!str.isEmpty()) System.out.println("unknown line format: " + str);
		    }
		    in.close();
		} catch (IOException e) {
			System.out.println("error:" + e.getMessage());
			return;
		}
		sc.printOrderInput();
		sc.printOrderResults();
	}