Deletes the file in order not to append several times