Removes old files and adds the new ones