print status messages when writing files