While this isn't an error avoid ambiguity for recursive deletion as it's not meaningful to delete a file.