printing file path of image in logs