Yes, they do. The technology is that when a SN is stamped or engraved, it alters the underlying metal. Filing the SN off does not remove the changed underlying metal. The ATF can reconstruct that SN by examining the alterations in that metal.
That’s why the smart criminals center punch the heck out of the serial number area to upset the metal there.