Changed get_magic_number() to force an exit if the file doesn't have the magic number