app now reads inventory from file