Re-hardening a file offers a fine chance of ruining it. Nevertheless, here is how Nicholson heat treats/treated their 1095 files.
Heat 5 minutes at 1440F, quench in salt water. They heat in a lead pot, now a bismuth pot--impractical for home use. "Salt water" is water with about 13 ounces of table salt dissolved per gallon of water. Quench straight down, so maybe the thing will come out straight. Do not temper, use as-quenched for best hardness. Yes, it will be brittle. Just don't drop your files.
To keep the surface from loosing any carbon, probably easiest to buy a pound of "Non-Scaling Compound" from Brownells.
The way Nicholson did it, before EPA became unnecessarily concerned, was to first coat the file with "cyanide loaf". Really not as scary as it sounds, if you use exactly the right chemical, i.e. potassium ferrocyanide K4Fe(CN)6
Mix the ferrocyanide (NOT ferricyanide) with flour and bone black, and boil the mix in salt water. No, I don't have proportions. Paint this onto the file you wish to harden. Either the cyanide loaf, or presumably Brownell's stuff, will keep from loosing carbon at the fine sharp tips of the file teeth. Cyanide loaf used to give a shallow but very hard surface to rasps, which were made of 1035 steel.
Or read Old Files and New Knives, Muzzle Blasts, some time in the 1980's, by James Kelly (metallurgist)