class FileLimitMaintainerTask implements MaintainerTask {

    @Override
    public void run() {
        File messagesFolder = logFilePath.getLogFilePath().toFile();
        deleteFilesAboveFileLimit(messagesFolder);
    }

}