Vector filelist = SOSFile.getFilelist(spooler.log_dir(), fileSpec, 0);
Iterator iterator = filelist.iterator();
while(iterator.hasNext()) {
File tempFile = (File)iterator.next();
long interval = System.currentTimeMillis()-tempFile.lastModified();
if (tempFile.canWrite() && interval > (fileAge*24*3600*1000) ) {
try {
counter++;
String gzipFilename = filePath + tempFile.getName().concat(".gz");
File gzipFile = new File(gzipFilename);
SOSGZip.compressFile(tempFile, gzipFile);