list can be saved as text file with user-specified filename