Re-use const
Move helper to TemporaryDirectory