@Override
  public boolean shouldClean(File file) {
    long currentTimeMillis = System.currentTimeMillis();
    long lastModified = file.lastModified();
    return (currentTimeMillis - lastModified > maxTimeMillis);
  }
Constructor.

@param maxTimeMillis the max time the file can keep
xlog/src/main/java/com/elvishew/xlog/printer/file/clean/FileLastModifiedCleanStrategy.java