where can I put "flat_level_generator_preset.json" file?

I am trying to do my own datapack with custom flat world preset. Where can I put this file?
Continue to help post