input structure
read header of input file