be sure to remove all files if server exiting