Fixed bug (DebugWrite didn't close it's path.