A man convicted for owning child sexual abuse material will spend up to five years in prison.