add files from the res folder as attachments

use files from the res folder as attachments and keep their extensions