Inventory file load and update code added.