Writing to file modified.