Added file dialog to ask user for the image file name.