@Override public ZLPhysicalFile getPhysicalFile() { ZLFile ancestor = myParent; while ((ancestor != null) && !(ancestor instanceof ZLPhysicalFile)) { ancestor = ancestor.getParent(); } return (ZLPhysicalFile) ancestor; }