hook up the prompt for correct filename logic