LUN-1168: Improved the logic for assigning a file name to a cropped image, since all the cropped imgs are stored in a common root folder