use the createFileList() method from the IFileSystem interface. it returns a list of all files and directories. and since you added the pk3 file to the file system (you have to in order to load a .bsp from .pk3), this list should contain anything you want.