Remove file validation hash and refactor the image header