Added new file writing
-Vander