delete file with not all use cases