delete head file