Add support for DWF format