Removes the images from the directory.