def object was overridden because files were read in different order on staging.