if feature_indices is not None:
            w = SparseVector()
            w.load(f)
            for key in w:
                index = feature_indices.add(key)