@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
android/android_framework/base/src/main/java/com/elvishew/xlog/printer/file/clean/FileLastModifiedCleanStrategy.java