To prepare the marinade, in a gallon-size sealable plastic bag, combine the sherry, soy sauce, gingerroot, garlic, sesame oil, and pepper flakes; add the beef. Seal the bag, squeezing out the air, turn to coat the beef. Refrigerate, turning the bag occasionally, about 1 hour.