created sink/file, moved writeResponse to sink/file/writeByDate, and delta does writeByType