split to head file