The double file name of the attachment

When I send or receive files, except images, I can see two lines of the same file name. It looks incorrect.
And it would be cool to show an icon of the type of file.