Using range based loops. Added binary file field of HeaderData