Data parser changed to expect each line in input file corresponding to item definition to be of the form "item.value item.weight\n".