This is so stupidly simple but I\'m just having issues with it.
A text file has a header,
e.g.,
# Avizo BINARY-LITTLE-ENDIAN 2.1 define Latt
The %s specifier in fscanf reads words, so it stops when reaching a space.
%s
fscanf
Use fgets to read a whole line.