Added support for header offset when reading raw data file.