Recognizing automorphisms of the free groups