Rewrote file creation to use new DoE format