Recovery tool using "magic bytes"