my @need = grep { $template{$_} } qw( url maxdepth filename);