# return a list or a reference to an array, depending # on what the caller wants: return wantarray ? @files : \@files;