Attached file is deleted at the time of doc deletion.