Added console messages when writing to disk