added alert for filename prompt
implemented csv saving