object.attach_file implemented.

[ci skip]