clean up server file