create file opens file, creating it if it doesn't exist.
create file
file
write t s writes s to the file.
write t s
s
bytes_to_write () returns the sum over all async_file_writers of how many bytes they need to write.
bytes_to_write ()