protected Folder getAccessibleDefaultFolder(final Folder[] candidates, final boolean needsWrite, final String fallbackName) {

        for (Folder candidate : candidates) {
            //candidate is ok if it is either directly accessible or based on another public folder (which will become accessible later)
            if (candidate != null && ensureFolder(candidate, needsWrite, true)) {
                return candidate;
            }
        }

        return Folder.fromFolder(CGEO_PRIVATE_FILES, "public/" + fallbackName);
    }
Gets this folder's current location. If it is not accessible, then null is returned
main/src/main/java/cgeo/geocaching/storage/ContentStorage.java