Fixed bug--header read from correct file.