Add support for setting file format for presets