Instead of filing the chainring, you can reverse it to extend the service life, although it would mean the chainring bolts won't seat exactly the same, any shifting ramps would be reversed, and spacing might be affected (chain drops between rings or rubs), so it's best done with 1x setups. After 15+ years, the aluminum chainring on my internal-gear hub chrome cruiser was showing some hooking wear, so I flipped it around with no operational problems.
Sheldon Brown briefly mentions reshaping hooked teeth at
https://sheldonbrown.com/chain-wear.html, but only for singlespeed sprockets.
I typically turn badly-worn larger chainrings into chainguards by cutting the teeth off with a hacksaw and filing smooth. Example: