Rather than write to the file as data comes in, I think I'd prefer to read it in as chunks