Added generics to DoomFile.java with warning removal