public ContentStorage.FileInformation getFileInfo(@NonNull final Uri uri) {
        final File file = new File(uri.getPath());
        if (!file.exists()) {
            return null;
        }
        return fileToInformation(Folder.fromFile(file.getParentFile()), file);
    }
Must return null if file does not yet exist
main/src/main/java/cgeo/geocaching/storage/FileContentAccessor.java