Fix bug with the request and the saving of the date
Now write all dataset in local file