Figure out header from file.