work on getting image name for new file