Completed file writing