try {
// Let's start at the beginning, shall we?
binFile.seek(0);
// Read the NITF part of the file...
nitfHeader = new NitfHeader();
// If false, it might not be a NITF file, start over...
if (!nitfHeader.read(binFile))
binFile.seek(0);
header = new RpfHeader();