create document by attachments
yosemite file path