Changed md5sum handling to keep previous md5sum values.
Reorganizing