executor file write/cleanup