detach andd signal c files