Vinson Filyaw pleaded guilty Tuesday , moments before his trial , to charges of kidnapping and 10 counts of criminal sexual conduct , one for each day prosecutors said he held the girl captive a year ago in Kershaw County .