FileStats reading index.json for directory queries