[file-history] check that IndexDataGetter is not null