Support for default writer filetypes.

This works for me. Needed it for work so sharing the love.