my @files = $sftp->glob($envment."{REP_*.dat,REQ_*.report,REQ_*.report +.*,REQ_*.req.copied}", names_only => 1);