Extract header to it's own file