readFileHeader() needs to have protected access level + assert on it.