added the delete of the file