create attachment file.
generate attachment files.