writing files, getting output into list, but not yet saving files
Now complete, but not final yet