Fix typo
Add write to write file