Added confirmation prompt for file name