As mentioned in the file thread in shop talk.Also keep in mind.....a file test doesn't mean a whole lot AFTER tempering. (I'm not sure it means a WHOLE lot prior to tempering ).
A good file will likely bite into a hardened AND tempered blade.
Good question. I’ve done it immediately after cooling and days later. I can’t tell the difference.
Generally speaking.....I believe its best to temper as soon as is reasonable to reduce the stresses induced from quenching and the conversion to martensite.
If I'm not mistaken, it would be important to allow all martensite to convert before tempering but once that's done, I don't see any reason to delay tempering.