Added dialogue box to prompt for file name.