Changes to support partial file updates