just to be user - use line buffered files + flush & close them at exit