Can we just make this `if (file.exists() && !file.delete())` for cleanliness?