#152 added method for restoring inventory from configuration file