Attached file is deleted at the time of doc deletion.

Attached file is deleted at the time of doc deletion.