Man gets 10 years for child pornography