implement log file manager