Adding an overload to the Using operator.
Fixing output directory creation.