Save to file and send filename instead of as text

Save to file and send filename instead of as text