-Changed IO to be able to write files

- fix the formatter to create the tar file