File (@NotNull File file) { File current = getParentWithDb(file); if (current == null) return null; WorkingCopyFormat format = getFormat(current); return format.isOrGreater(WorkingCopyFormat.ONE_DOT_SEVEN) ? current : null; }