Basic file write.