deleting server file and dir