If the file that you're trying to use has not 'wad' as extension then it is not a valid file.
You must use the "doom2.wad" file.