Maybe I wasn’t clear. The code has been written to use dg_doc_icon to output the file size. He also wrote code to get the MIME filetype. It outputs style classes, since your code doesn’t, which isn’t best practice for CSS. If you want it, you can have it to add a feature to your plugin — say as a checkbox on the options screen. If you don’t, cool.
I will lean on him to write the code to exclude featured images, and will also provide that code if you are interested in adding that feature.