added support to read the nif header separately. seems logical to see ahead what kind of file do we have