add filetype icons to inserted files