private boolean isParentFolderAccessible(String path) {
        if (path == null) {
            return false;
        }

        File file = new File(path);
        return new File(file.getParent()).exists();
    }