foreach my $path ( @files ) { if ( $path =~ /,v$/ ) { $self->push('file', Apache::CVS::File->new($self->path() . "/$path", $self->rcs_config())); } else { $self->push('plain_file', Apache::CVS::PlainFile->new($self->path() . "/$path")); } }