write files elsewhere