[CAPEDWARF-216]; check attachment file types.