Fixing wrong conditional on File Cache