my ($self, $known_files) = @_;
my %known = map { ($_ => 1) } @$known_files;
my $data_dir = $self->storage->file(node => $self->node_path);
- my @files = $self->storage->find_files('yml', node => $self->node_path);
+ my @files = $self->storage->find_files('json', node => $self->node_path);
for my $file (@files) {
next if $known{$file};
print "Removing $file\n";