ourFilesCount++;
    public static InputStream openFileForReading(File file) throws SVNException  {        if (file == null) {            return null;        }        if (!file.isFile() || !file.canRead()) {            throw new SVNException("svn: Cannot read from '" + file + "': path refers to directory or read access denied");        }        if (!file.exists()) {            return new ByteArrayInputStream(new byte[0]);        }        try {            ourFilesCount++;            return new BufferedInputStream(new FileInputStream(file));        } catch (FileNotFoundException e) {            throw new SVNException("svn: Cannot read from '" + file + "': " + e.getMessage());        }    }