I want that when I for example add an exe game or an txt file to the app menu,that then it uses the icon of the file by default.
There is no concept of a default icon in the .desktop file spec; you have to manually specify one. Since we follow the spec, it would need to be changed to accommodate this.