small cleanup on a file