Learn Spanish (Latin America): Habiendo visto el expediente, el juez fue al tribunal. - Having seen the file, the judge went to the court.