Error using scanpy.read_10x_h5

I am trying to read a h5ad file via scanpy

adata = sc.read_10x_h5(file.h5ad,  gex_only=False)

But it is showing me the error " ValueError: ‘file.h5ad’ contains more than one genome. For legacy 10x h5 files you must specify the genome if more than one is present. Available genomes are: [‘X’, ‘layers’, ‘obs’, ‘uns’, ‘var’] "