you actually have to close the buffered writer