Remove pasted head of the main file