This is a code for renaming the image files before annotations.