Revise the IO. Pay attention! When the buffered IO class is used, remember to flush/close.