delete res file