Police found images of babies being sexually abused when they raided the home of a 59-year-old York man, the city’s crown court heard.