The shape, colour and scales on the hat suggest something in the genus Coprinus.
Some species are edible, but it is not recommended to have them with wine. I would not advise you to eat them without further live identification by someone knowledgeable. Photo identification is not reliable.