modify filehead