Paedophile preyed on children for decades, shared thousands of sex abuse photos