Added possibility to delete file attachments.