WIP - don't fill up memory via content-variable, use temp file instead