use the uuid module to create the new image name and implement one more secure and realeabily way to remove the old image
improve comments