Defined writeProjectHeader