Make the FileNameFormat configurable.