Write to file is completed