. "Maybe a good compromise would be to have the error message to tell there is a file with the same name of the directory chosen?" . . .