Chages to upgrade file method