Exercise: Send e-mail with attachment.

Extend your solution for sending plain text e-mail by allowing the user to provide a list of filename and send the e-mail with the given files included as attachments.