better duplicate message, more filetypes allowed.