use zipmap to build file-header record