perform file versioning by using combination of index/md5 sum