VirtualFile (@NotNull VirtualFile file, @NotNull NewVirtualFileSystem fs) { VirtualFile parent = file.getParent(); if (parent == null && fs instanceof ArchiveFileSystem) { parent = ((ArchiveFileSystem)fs).getLocalByEntry(file); } return parent; }