Fixes #3352: Use Current fileFormat, instead of arbitray one
Merge pull request #675 from VinceMacBuche/bug_3352/use_correct_default_file_format

Fixes #3352: Use Current fileFormat, instead of arbitray one