if (cachedContent != null) {
if (size >= 0) { return size; } else if (cachedContent != null) {
    public long getSize() {        if (cachedContent != null) {            return cachedContent.length;        } else if (dfos.isInMemory()) {            return dfos.getData().length;        } else {            return dfos.getFile().length();        }    }