Exit in the context of a temp file