Eliminated risk of disposing of StreamWriter multiple times