Extracting version from header