progressing thinking about filewrites