better way of getting image file name