Reorganizing stuff
Updated to concat to the file