void (@Nullable Path focusOn) { if (focusOn == null) { var value = myList.getSelectedObject(); if (value != null) { focusOn = value.path; } } synchronized (myLock) { load(myCurrentDirectory, focusOn, EnumSet.of(OpenFlags.RELOAD, OpenFlags.UPDATE_PATH_BAR, OpenFlags.KEEP_HISTORY)); } }