One possible solution with minimal scripting would be:

1. Save the attached file in example location and change file extension from .txt...