code: @Override
      public File findByMillis(long timestamp) {
          File[] files = listFiles(filter);
  
          File result = null;
          long max = Long.MIN_VALUE;
          for (File file : files) {
              long time = getLogFileTimestamp(file);
              // Select file with a maximum time stamp which is smaller than 'timestamp'.
              if (max < time && time <= timestamp) {
                  max = time;
                  result = file;
              }
          }
  
          return result;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.ws.logging.hpel.LogRepositoryBrowser#findByMillis(long)