complete the attachment function and add it to newreport page. Handle
the useless attachment function both in database and disk.