An Edinburgh man has been accused of flying to the United States to meet a child who was found in bushes outside his home.