support skip useless X lines at the top of file