please pay attention to the flush() method of BufferedWriter/BufferedOutputStream
please pay attention to the flush() method of BufferedWriter/BufferedOutputStream