in case of error by deliting files