write file changes to console